Hi guys

i have a problem with ant [b]war[/b] task
my build.xml are located in

[code]
myapp
        WEB-INF
                build.xml
[/code]

this is my war task target

[code]
<target name="war-creatror">
        <war basedir="${basedir}/../" destfile="myapp.war" webxml="web.xml" >
                <fileset dir="${sourcedir}" >
                        <exclude name="**/*.java" />
                </fileset>      
        </war>
</target>
[/code]

where 
[b]<property name="sourcedir" value="${basedir}/src" />[/b]

well the weird part is that the war file [b]has include the src
folder!!!![/b]
thats mean

[code]
myapp.war
        jsp
        js
        css
        WEB-INF/
                src <---- it shouldnt be there
                ...
                more folders
                ...
[/code]

so please, what is wrong??????
according with 2 books my code shown should work

really i need your help,

thanks for advacned

p.d: i work in linux, ant version 1.6.5

-- 
View this message in context: 
http://www.nabble.com/war-task-add-folders-that-be-should-avoid-ignore-it-tf3356653.html#a9335691
Sent from the Ant - Users mailing list archive at Nabble.com.


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

Reply via email to