wood burning stoves 2.0*
The moose likes Ant, Maven and Other Build Tools and the fly likes ant build file-building jar problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "ant build file-building jar problem" Watch "ant build file-building jar problem" New topic
Author

ant build file-building jar problem

rajareddy annavaarm
Ranch Hand

Joined: Mar 15, 2007
Posts: 96
<target name="ejbc" depends="init">
<echo>+ ===================================================== +</echo>
<echo>+ +</echo>
<echo>+ EJBC +</echo>
<echo>+ +</echo>
<echo>+ ===================================================== +</echo>

<delete>
<fileset dir="${build.dist.dir}" includes="${jar.name}" />
</delete>

<java classname="weblogic.ejbc"
fork="true">
<arg value="-keepgenerated"/>
<arg value="${build.dist.dir}/${pre-ejb.jar.name}"/>
<arg value="${build.dist.dir}/${jar.name}"/>
<classpath refid="weblogic.path"/>
<classpath refid="j2ee.path"/>
<classpath refid="log4j.path"/>
<classpath refid="junit.path"/>
<classpath refid="junitee.path"/>
<classpath refid="commons-logging.path"/>
<classpath refid="commons-fileupload.path"/>
<classpath refid="spring.path"/>

<classpath refid="jar.path"/>
</java>

</target>

above is some part of my ANT build file.this script is not able to prepare
jars at below line
1)<arg value="${build.dist.dir}/${pre-ejb.jar.name}"/>

what is the problem??
Jan Cumps
Bartender

Joined: Dec 20, 2006
Posts: 2497
    
    8

what is the problem??
What is the error?

Regards, Jan


OCUP UML fundamental and ITIL foundation
youtube channel
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: ant build file-building jar problem