I tried to see the log file but there is no hint in that. Still not able to
figure out what the issue is..
The log file is as follows
init:
build:
[javac] Compiling 63 source files to C:\Documents and
Settings\sag\Sagarika\A\classes
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
jar:
[copy] Copying 8 files to C:\Documents and
Settings\sag\Sagarika\A\build\ejb-jar
[jar] Building jar: C:\Documents and
Settings\sag\Sagarika\A\build\sensorDemo.jar
[jar] Building jar: C:\Documents and
Settings\sag\Sagarika\A\build\sensor-clt.jar
BUILD SUCCESSFUL
BUILD SUCCESSFUL
thanks,
glenn opdycke-hansen wrote:
Perhaps you can find the answer by running ant in verbose mode (-v) and
write the messages to a file with
<record name="log.txt" action="start"/>
--glenn
--write the messages to a file with
<record name="log.txt" action="start"/>
--glenn
On Fri, Sep 25, 2009 at 16:47, shwitzu 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>
...
<target name="clean" depends="init">
<delete dir="${classes.dir}" quiet="true" />
<delete dir="${out.dir}" quiet="true" />
</target>
<target name="deploy" depends="clean,jar">
<copy file="${out.dir}/sensorDemo.jar"
toDir="${jboss.deploy}" />
</target>
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>
...
<target name="clean" depends="init">
<delete dir="${classes.dir}" quiet="true" />
<delete dir="${out.dir}" quiet="true" />
</target>
<target name="deploy" depends="clean,jar">
<copy file="${out.dir}/sensorDemo.jar"
toDir="${jboss.deploy}" />
</target>
View this message in context: http://www.nabble.com/Need-Help-urgent-tp25619778p25622480.html
Sent from the Ant - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org