ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pava...@tcs.com
Subject RE: Ant Build Problems
Date Fri, 06 Feb 2004 08:09:30 GMT
jan,
the directory structure is same as that u specified..
this is the target portion which is failing..Pls look at the fail message 
node
..as i said this build.xml is generated by jbuilder..
<target depends="resource" name="ejb">
    <fail message="The &quot;Include class dependencies&quot; feature of 
JBuilder archives is not directly supported by Ant.  The JAR created by 
Ant may not have some required classes."/>
    <fail message="If you do not select the EJB Group's &quot;Copy 
descriptors&quot; option, this Ant build file is referencing an out of 
date or non-existent version of the deployment descriptors"/>
    <jar destfile="AdminModule_tmp.jar">
      <fileset dir="${dest}">
        <patternset refid="dest.exclude"/>
        <include name="**/*.jpe"/>
        <include name="**/*.jpeg"/>
        <include name="**/*.rmf"/>
        <include name="**/*.wav"/>
        <include name="**/*.mid"/>
        <include name="**/*.midi"/>
        <include name="**/*.au"/>
        <include name="**/*.gif"/>
        <include name="**/*.png"/>
        <include name="**/*.jpg"/>
        <include name="**/*.aiff"/>
        <include name="**/*.properties"/>
        <include 
name="com/tcstc/ofs/application/admin/sessionbean/SystemAdminFacade.class"/>
        <include 
name="com/tcstc/ofs/application/admin/sessionbean/SystemAdminFacade_2xij96_EOImpl.class"/>
        <include 
name="com/tcstc/ofs/application/admin/sessionbean/SystemAdminFacade_2xij96_HomeImpl.class"/>
        <include 
name="com/tcstc/ofs/application/admin/sessionbean/SystemAdminFacade_2xij96_Impl.class"/>
        <include 
name="com/tcstc/ofs/application/admin/sessionbean/SystemAdminFacadeRemote.class"/>
        <include 
name="com/tcstc/ofs/application/admin/sessionbean/SystemAdminFacadeHome.class"/>
        <include 
name="com/tcstc/ofs/application/admin/sessionbean/UserAdminFacade.class"/>
        <include 
name="com/tcstc/ofs/application/admin/sessionbean/UserAdminFacade_obmqm_EOImpl.class"/>
        <include 
name="com/tcstc/ofs/application/admin/sessionbean/UserAdminFacade_obmqm_HomeImpl.class"/>
        <include 
name="com/tcstc/ofs/application/admin/sessionbean/UserAdminFacade_obmqm_Impl.class"/>
        <include 
name="com/tcstc/ofs/application/admin/sessionbean/UserAdminFacadeRemote.class"/>
        <include 
name="com/tcstc/ofs/application/admin/sessionbean/UserAdminFacadeHome.class"/>
        <include 
name="com/tcstc/ofs/application/admin/sessionbean/SiteAdminFacade.class"/>
        <include 
name="com/tcstc/ofs/application/admin/sessionbean/SiteAdminFacade_4wxntu_EOImpl.class"/>
        <include 
name="com/tcstc/ofs/application/admin/sessionbean/SiteAdminFacade_4wxntu_HomeImpl.class"/>
        <include 
name="com/tcstc/ofs/application/admin/sessionbean/SiteAdminFacade_4wxntu_Impl.class"/>
        <include 
name="com/tcstc/ofs/application/admin/sessionbean/SiteAdminFacadeRemote.class"/>
        <include 
name="com/tcstc/ofs/application/admin/sessionbean/SiteAdminFacadeHome.class"/>
      </fileset>
    </jar>

TIA

Pavan Kumar
Tata Consultancy Services
Mailto: pavan.k@tcs.com
Website: http://www.tcs.com



Jan.Materne@rzf.fin-nrw.de 
02/06/2004 02:27 AM

Please respond to
"Ant Users List" <user@ant.apache.org>


To
user@ant.apache.org
cc

Subject
RE: Ant Build Problems






There are 3rd party tasks for dependency checking. See the 
external task page [1]. (Maybe you´ll find some more useful
things :-) A quick search there shows "GenJar" and "Javamake".

Maybe you can include JBuilders archiver via <exec> or <java>,
but that sounds for a hack ...

For further help, why there are no jars created we need more information:
- the target code (not) creating the archive
- a "-verbose" output of that target
- a cup of coffee (oh, is already here :)
- an overview of your directory structure

I guess directory layout would be something like
  /            JARs are created into this dir
  /bak         backup files (not needed here) 
  /classes     compiled classes
  /doc         javadoc
  /src         sources


Jan


[1] http://ant.apache.org/external.html


-----Original Message-----
From: pavan.k@tcs.com [mailto:pavan.k@tcs.com]
Sent: Friday, February 06, 2004 8:13 AM
To: Ant Users List
Subject: Ant Build Problems



hi there.. 

iam a new ant user.. 
i have generated a build.xml from jbuilder. 
then  i used that build.xml for ant.it was compiling fine. the .war 
is also created.but when the jars are to be build,ant quits 
with message 

BUILD FAILED 
The "Include class dependencies" feature of JBuilder archives is not
directly supported by Ant.  The JAR created 
by Ant may not have some required classes. 

but i find no jars created atleast. 

can any one guide me.. 

regards
Pavan Kumar
Tata Consultancy Services
Mailto: pavan.k@tcs.com
Website: http://www.tcs.com

ForwardSourceID:NT00005006 

Mime
View raw message