[Anthill] How do I tell Anthill what my build artifact dir is ?

varban vvv at urbancode.com
Tue Nov 29 12:09:12 CST 2005


Hi Marcio,

I am afraid that you have to publish the files that you want using your 
build script.
Let's say that you have a directory .../builds/reports that you would 
like to make available in the AnthillOS UI.
In order to do that you need a task in your build script (or another 
build script) that will be executed at the end of the build and will 
read the publishDir property that AnthillOs passes to ant and copy the 
.../builds/reports to the location that the publishDir points to. Then 
whatever you copied over will be available in the UI.
The reasoning behind that is to be able to control what is available in 
the UI, not just publish the whole build directory.

Regards,
Varban
Marcio Marchini wrote:
> Hi,
> 
>     I build things into a "build" subdir. Into builds/reports I generate 
> HTML reports for JUnit, JDepend, etc (each in a subdir). I'd like to 
> make these files available via web browser/Anthill.
> 
>     I looked at the PDF and saw a bunch of things about where to move 
> the artifacts so they can be published. What I did not find is how to 
> tell Anthill what my build artifacts dir is. I mean, I have to tell it I 
> want it to publish "builds/reports" or, if I prefer, the entire "builds" 
> dir, or etc.
> 
>     Did I miss anything? How do I tell ANthill "after a successful 
> build, please make (besides the logs) the files under build/reports also 
> available via the web UI"
> 
>     I tried anthill.publish.url=anthill.publish.url but that did not work.
> 
>     I saw anthill.publish.script but it says "The paths to the publish 
> script relative to the project root directory. (In the near future, we 
> are going to get rid of the publish script. Publishing of the projects 
> will still be possible but will need to take place in the main build 
> script.)". That confused me because 1) I should not need to write a 
> script (I use Ant, and I gen things in a dir) and 2) it looks like it 
> will become obsolete.
> 
>     Confusing. Any ideas? Thanks,
> 
> 
> marcio
> 
> _______________________________________________
> Anthill mailing list
> Anthill at lists.urbancode.com
> http://lists.urbancode.com/mailman/listinfo/anthill




More information about the Anthill mailing list