You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@continuum.apache.org by Alex Boisvert <bo...@intalio.com> on 2005/12/07 03:13:00 UTC

Ant build in subdirectory

Howdy,

I have a project where the Ant build file is located in a sub-directory 
with respect to the checkout root.

CheckoutRoot
     |
     +--- subDirectory
            |
            +---- build.xml

Problem is, I need to checkout at CheckoutRoot because there are other 
artifacts that need to be present for the build.

Is there a way to tell Continuum to use subDirectory\build.xml?

Ideally, I would like the following effect when triggering the build:

% (checkout tree using CVS)
% cd subDirectory
% ant build.xml

thanks,
alex


Re: Ant build in subdirectory

Posted by dan tran <da...@gmail.com>.
Place a batch file which will change directory to subDirectory and call your
ant build file.
Then configure continuum to add a shell build type to call batch file.

-Dan



On 12/6/05, Alex Boisvert <bo...@intalio.com> wrote:
>
>
> Howdy,
>
> I have a project where the Ant build file is located in a sub-directory
> with respect to the checkout root.
>
> CheckoutRoot
>     |
>     +--- subDirectory
>            |
>            +---- build.xml
>
> Problem is, I need to checkout at CheckoutRoot because there are other
> artifacts that need to be present for the build.
>
> Is there a way to tell Continuum to use subDirectory\build.xml?
>
> Ideally, I would like the following effect when triggering the build:
>
> % (checkout tree using CVS)
> % cd subDirectory
> % ant build.xml
>
> thanks,
> alex
>
>

Re: Ant build in subdirectory

Posted by Emmanuel Venisse <em...@venisse.net>.
it will be possible in 1.0.2

Emmanuel

Alex Boisvert a écrit :
> 
> Howdy,
> 
> I have a project where the Ant build file is located in a sub-directory 
> with respect to the checkout root.
> 
> CheckoutRoot
>     |
>     +--- subDirectory
>            |
>            +---- build.xml
> 
> Problem is, I need to checkout at CheckoutRoot because there are other 
> artifacts that need to be present for the build.
> 
> Is there a way to tell Continuum to use subDirectory\build.xml?
> 
> Ideally, I would like the following effect when triggering the build:
> 
> % (checkout tree using CVS)
> % cd subDirectory
> % ant build.xml
> 
> thanks,
> alex
> 
> 
> 
>