ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karen Schaper" <Karen.Scha...@dhl.com>
Subject RE: dependency=full ...slow
Date Thu, 08 Jan 2004 19:30:18 GMT
Thanks for your help.  Glad to hear that you have it working with wls8.1.
This means I SHOULD be able to get this working! I'm upgrading from Ant 1.4
and wls 6.1.

Karen Schaper
Marketlink Integration Engineer

DHL Danzas Air & Ocean
614 Corporate Way
Suite 4M
Valley Cottage, NY 10980
United States

Phone +1 845 268-6300
Fax     +1 845 268-6390

karen.schaper@dhl.com <mailto:karen.schaper@dhl.com>
www.us.danzas.com <http://www.us.danzas.com>


-----Original Message-----
From: Mark Lybarger [mailto:Mark.Lybarger@CBC-Companies.com]
Sent: Thursday, January 08, 2004 2:19 PM
To: Ant Users List
Subject: RE: dependency=full ...slow


I'm using wls 8.1, jdk 1.4 (wls included jdk), and ant 1.6.  building ejb's
takes a few seconds. i do notice an extra line after the ejbc successfull
message. other than that seems about the same as from ant 1.5.4.  i did add
the bcel.jar to the ant lib directory only b/c i saw a warning in the
console when building without.

		<ejbjar
			dependency="full"
			destdir="${basedir}"
			flatdestdir="true"
			srcdir="${basedir.build.web-inf.classes}"
			descriptordir="${basedir.build.web-inf.src}">
            <weblogic
            	destdir="${basedir.ejb.build}"
            	wlclasspath="${weblogic.lib.dir}/weblogic.jar"

classpath="${classpath}:${basedir.build.web-inf.classes}:${weblogic.lib.dir}
/weblogic.jar"
                compiler="javac"
                ejbcclass="weblogic.ejbc"/>
            <include name="**/*-ejb-jar.xml"/>
            <exclude name="**/*weblogic*.xml"/>
            <exclude name="**/eventsubmit/*"/>
            <exclude name="**/event/*"/>
        	<dtd publicId="-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans
2.0//EN" location="${project.dir}/dtd/ejb-jar.dtd"/>
		</ejbjar>

-----Original Message-----
From: Karen Schaper [mailto:Karen.Schaper@dhl.com]
Sent: Thursday, January 08, 2004 12:46 PM
To: user@ant.apache.org
Subject: RE: dependency=full ...slow


It is taking 21 minutes only for ONE!

I am using jdk 1.4 and weblogic 8.1.

Here is a snippet of my build script...

<target depends="compile.project" name="makefead">
        <mkdir dir="${project.bindir}"/>
        <ejbjar basejarname="${adapter.target}"
descriptordir="${project.src}/com/danzas/marketlink/adapter/frontend/${adapt
er.package}/META-INF"
                srcdir="${project.classes}" dependency="full">
            <classpath refid="project.classpath"/>
            <classpath refid="bea.classpath"/>
            <weblogic compiler="${system.compiler}/bin/javac"
destdir="${project.bindir}"  ejbcclass="weblogic.ejbc">
                <classpath refid="project.classpath"/>
                <wlclasspath refid="ejbcwl.classpath"/>
            </weblogic>
            <dtd location="${project.base}/build/dtd/ejb20-jar.dtd"
publicId="-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN"/>
            <include name="ejb-jar.xml"/>
            <exclude name="**/*weblogic*.xml"/>
            <support dir="${project.src}">
                <include
name="com/danzas/marketlink/adapter/frontend/${adapter.package}/**/*.xml"/>
                <include
name="com/danzas/marketlink/adapter/frontend/${adapter.package}/**/*.xsl"/>
                <include
name="com/danzas/marketlink/adapter/frontend/${adapter.package}/**/*.dtd"/>
                <include
name="com/danzas/marketlink/adapter/frontend/${adapter.package}/**/*.propert
ies"/>
                <exclude name="**/META-INF/**"/>
            </support>
        </ejbjar>
    </target>
Karen Schaper
Marketlink Integration Engineer

DHL Danzas Air & Ocean
614 Corporate Way
Suite 4M
Valley Cottage, NY 10980
United States

Phone +1 845 268-6300
Fax     +1 845 268-6390

karen.schaper@dhl.com
www.us.danzas.com
-----Original Message-----
From: Karen Schaper [mailto:Karen.Schaper@dhl.com]
Sent: Thursday, January 08, 2004 12:28 PM
To: user@ant.apache.org
Subject: dependency=full ...slow


We are upgrading to Ant 1.6.0 and want to take advantage of the
dependency="full" attribute of the ejbjar  task.

However when I add this an ejb that normally takes less than a minute to
build now takes 21 minutes.  Is this normal?



Karen Schaper
Marketlink Integration Engineer

DHL Danzas Air & Ocean
614 Corporate Way
Suite 4M
Valley Cottage, NY 10980
United States

Phone +1 845 268-6300
Fax     +1 845 268-6390

karen.schaper@dhl.com
www.us.danzas.com



---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.557 / Virus Database: 349 - Release Date: 12/30/2003

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.557 / Virus Database: 349 - Release Date: 12/30/2003



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


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


Mime
View raw message