Hi Roman,

If I understand what you're trying to do, I'd say it's the same as 
the "Declaring Dependencies" section of the documentation: 
http://maven.apache.org/ant-tasks.html
look at "For example, to populate WEB-INF/lib  with your dependencies you 
could use the following:"

If the doc is not clear, don't hesitate to propose other words to explain the 
case and open a Jira issue: it's written with best efforts, we need review 
and help to improve it. Source is here: 
http://svn.apache.org/viewvc/maven/site/trunk/src/site/apt/ant-tasks.apt

regards,

Hervé

Le samedi 03 mai 2008, roman schoenbichler a écrit :
> Hey Guys!
>
> I'm currently working with seam. They have a project generation script.
> This sets up a project, including a build.xml file. The Problem with
> this script is, that it copies all libs in the generated project which
> is not nice at all.
> So I started using maven-ant-tasks.
>
> The problem is, that I wasn't able to figure out how I can copy the
> needed lib files to the generated .ear project from my local repository.
>
> The generated script uses:
> <fileset id="lib" dir="${lib.dir}">
>     <include name="*.jar" />
> </fileset>
>
> with lib.dir pointing to ./lib, which of corse is not very usefull since
> my libs are in the .m2 repository.
>
> The description on the website isn't very clear about such functions.
>
> I hope you can help me on that,
> Greets
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to