ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Francis GALIEGUE <...@one2team.com>
Subject Re: Need Help urgent
Date Fri, 25 Sep 2009 22:28:34 GMT
On Fri, Sep 25, 2009 at 23:47, shwitzu <shwitzu@gmail.com> wrote:
>
> Hi I am having trouble with the Ant build file which I am using in my
> program. I am not able to copy the JAR files which are being generated in
> the workspace to the deploy folder of jboss. Please let me know what changes
> should I do. Here is the build file.
>
> <project name="Sensor EJB" default="jar" basedir=".">
>
>        <target name="init">
>                <property name="src.dir" value="${basedir}/src" />
>                <property name="classes.dir" value="${basedir}/classes" />
>                <property name="jboss.home" value="C:\jboss-4.2.3.GA" />
>                <property name="out.dir" value="${basedir}/build" />
>                <property name="jboss.deploy" value="${jboss.home}/server/default/deploy"
> />
>        </target>
>

Before going further, why does this target exist at all?

You don't need to have a target just to define properties. Just define
them right below <project>, it will make the file simpler (your clean
target won't depend on init anymore).


-- 

Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +33 (0) 178 945 552
fge@one2team.com
40 avenue Raymond Poincaré
75116 Paris

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


Mime
View raw message