[Anthill-pro] Anthill bug report: Cancelling workdir script creation causes NoSuchMethodException

Eric Minick etm at urbancode.com
Mon Jan 29 21:06:23 CST 2007


Chad,

Yeah, the CVS driver is a bit unique in putting the working directory 
above the module name folder. There are some reasons for that, but it is 
somewhat unique in that respect.

On your builders, when entering the location of the build you can simply 
just enter the location of <module_name>\build.xml for the script to 
run. That's how we run builds for our internal CVS projects. The effect 
of that will be similar to the system changing into the 
<agent_dir>/var/jobs/projects/<project_name>/<workflow_name>/<module_name> 
directory and running build.xml from there.

Is that what you need?

-- Eric





Chad Loder wrote:

>On Mon, Jan 29, 2007 at 04:18:18PM -0700, Eric Minick wrote:
>  
>
>>Chad,
>>
>>Thanks for the bug report, I've filed it to be fixed in 3.2. It should 
>>be able to sneak in for that.
>>
>>As for the list of what's supported, the best document is probably Help 
>>-> How-to -> Scripting -> Scripting Overview.
>>
>>If there's something in particular that you're trying to do and the 
>>approach isn't obvious after looking at the doc, let us know and we'll 
>>try to help.
>>    
>>
>
>Hi Eric.
>
>Basically I need to make sure that my ant builder scripts are run from
>the checked-out CVS directory.
>
>For my project, I have set up a Source Config using our CVS repository
>with the "Default Project Working Directory" script.  Let's say the CVS
>module name is "foo" -- this gives me the following directory on the
>agent:
>
><agent_dir>/var/jobs/projects/<project_name>/<workflow_name>/<module_name>
>
>Everything up to the <module_name> is specified by the "Default Project
>Working Directory" workdir script. The <module_name> directory is
>automatically created by CVS during the checkout of that module.
>
>Now I have some ant scripts that must be run from the <module_name>
>directory, rather than its parent directory (which seems to be the default).
>
>Thanks,
>
>	c
>_______________________________________________
>Anthill-pro mailing list
>Anthill-pro at lists.urbancode.com
>http://lists.urbancode.com/mailman/listinfo/anthill-pro
>  
>



More information about the Anthill-pro mailing list