Marc,

Not real sure exactly what you are trying to get, but I think the answer is
in the <fileset> or <webinf> tags.  Either should be included in the <war >
tag, same as the <classes> tag...

Hope this helps,

Jim.

-----Original Message-----
From: Pellier, Marc [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 15, 2002 8:42 AM
To: [EMAIL PROTECTED]
Subject: How include file in a war file with Ant


Some body can help ?

My code is :

<target depends="init" name="WebServerSimulator">
        <war warfile="${distrib}/My.war"
webxml="${project}\My\WEB-INF\web.xml">
                <classes dir="${classes}"></classes>
                <include name="${project}/My/toto.properties"/>-->
        </war>
</target>

I want to include in the war toto.properties in the root of my tree.
But it doesn't work

Any suggestions?

Thanks


Marc Pellier
AtosOrigin
191 Bd du Souverain
1160 Bruxelles
[EMAIL PROTECTED]


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



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

Reply via email to