Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ant build file-building jar problem

 
rajareddy annavaarm
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<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
Posts: 2596
12
C++ Linux Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what is the problem??
What is the error?

Regards, Jan
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic