You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@continuum.apache.org by so...@email.de on 2005/12/08 11:31:08 UTC

adding ant project - how to specify the build-target?

Hey all,
in the Help i found the folowing:

Adding Ant Projects
When adding Ant projects you have to specify the project's name, SCM URL, version and the targets to execute.
NOTE: The SCM URL is a Maven SCM URL. Here's an example of what an SCM URL looks like: scm:svn:http://svn.apache.org/repos/asf/maven/continuum/trunk

If I add a new ANT Projekt, i can setup the following:

Project Name - Enter the project name  
Version - Enter the version of the project  
Scm Url - Enter the Maven SCM URL  
Scm Username - Enter the scm username  
Scm Password - Enter the scm password  
Scm Branch/Tag 

But where can I "specify the targets to execute" ????

In the "Show Projects" Viuew, there is also no way to do this.

Fredy

Re: adding ant project - how to specify the build-target?

Posted by Emmanuel Venisse <em...@venisse.net>.
You can specify by adding a new build definition in project view :
 From summary page ("Show Projects"), click on your project name, then in build definition part, 
click on "Add" button.

Add your info in this screen.

In 1.0.2, you'll have a default build definition attach to ant project, and build definition view 
will be more usable for ant projects. Actually, you must define in :
- Pom filename => build.xml
- arguments => ant arguments
- goals => targets

Emmanuel

softwarearchitekt@email.de a écrit :
> Hey all,
> in the Help i found the folowing:
> 
> Adding Ant Projects
> When adding Ant projects you have to specify the project's name, SCM URL, version and the targets to execute.
> NOTE: The SCM URL is a Maven SCM URL. Here's an example of what an SCM URL looks like: scm:svn:http://svn.apache.org/repos/asf/maven/continuum/trunk
> 
> If I add a new ANT Projekt, i can setup the following:
> 
> Project Name - Enter the project name  
> Version - Enter the version of the project  
> Scm Url - Enter the Maven SCM URL  
> Scm Username - Enter the scm username  
> Scm Password - Enter the scm password  
> Scm Branch/Tag 
> 
> But where can I "specify the targets to execute" ????
> 
> In the "Show Projects" Viuew, there is also no way to do this.
> 
> Fredy
> 
> 
>