ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Quas <tq...@yahoo.com>
Subject <war> libraries & flat hierarchy
Date Tue, 14 Oct 2003 15:08:21 GMT
Hi All,

I have the following directory structure for third-party libraries:
	packageA/x.jar
	packageB/y.jar

Now, my build script tries to collect all libs and put them under
WEB-INF/lib:

        <war warfile="${build.home}/my.war" webxml="${build.etc}/web.xml">
            <lib dir="${project.lib}">
                <include name="**/*.jar"/>
            </lib>
	...

Unfortunately, this results in:

$ jar -tvf my.war
     0 Wed Sep 10 12:18:38 CEST 2003 WEB-INF/lib/packageA/
311711 Wed Sep 10 12:18:38 CEST 2003 WEB-INF/lib/packageA/x.jar
     0 Wed Sep 10 12:18:38 CEST 2003 WEB-INF/lib/packageB/
311711 Wed Sep 10 12:18:38 CEST 2003 WEB-INF/lib/packageB/y.jar
...

How can I flatten the hierarchy under lib? Is there an option to filesets
that I missed?


Thanks for your suggestions,

-tom
-- 
thomas quas        | "The truth indeed has never been preached by the Buddha,
tquas@yahoo.com    |  seeing that one has to realize it within oneself."
                   |    -- Lamkara Sutra --



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message