ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <DDevie...@lgc.com>
Subject RE: Dynamic construction of property from filesets/files
Date Tue, 12 Nov 2002 22:39:57 GMT
Righto! I get it now ;-) Yours was not the Class-Path: attribute of the
manifest ;-) Sorry about that! --DD

-----Original Message-----
From: Narayanan, Gopalakrishnan [mailto:gnaray@exchange.ml.com] 
Sent: Tuesday, November 12, 2002 4:31 PM
To: 'Ant Users List'
Subject: RE: Dynamic construction of property from filesets/files

Yeah, that's right.But weblogic(5.1) has its own ways.We have been defining
ejbs using the following property in weblogic.properties.

weblogic.ejb.deploy=/ds1-export/apps/bea/weblogic/mycluster/Bean1.jar, 
			/ds1-export/apps/bea/weblogic/mycluster/Bean2.jar, 
			/ds1-export/apps/bea/weblogic/mycluster/Bean3.jar

-----Original Message-----
From: Dominique Devienne [mailto:DDevienne@lgc.com]
Sent: Tuesday, November 12, 2002 5:26 PM
To: 'Ant Users List'
Subject: RE: Dynamic construction of property from filesets/files


Really? 'pathsep' should read =" " and not ",${line.separator}", otherwise
your JARs won't be found at runtime. If you used ${line.separator} because
you're worried about the 72 char line limitation in manifest, don't since
Ant's <manifest> element will do the right thing for you.

The JARs must be space separated I think in the Class-Path: attribute. --DD

-----Original Message-----
From: Narayanan, Gopalakrishnan [mailto:gnaray@exchange.ml.com] 
Sent: Tuesday, November 12, 2002 4:20 PM
To: 'Ant Users List'
Subject: RE: Dynamic construction of property from filesets/files

Thanks!That did the trick.

Just for reference,

<property name="proj.deliverable.localized.dir"
location="${proj.deliverable.dir}" />
<fileset id="proj.deliverable.dir.temp"
dir="${proj.deliverable.dir}/mycluster" includes="*.jar"/>

<pathconvert pathsep=",${line.separator}" dirsep="/"
property="proj.deploy.ejb.definition"
refid="proj.deliverable.dir.temp" >
	<map from="${proj.deliverable.localized.dir}"
to="${proj.deploy.server.weblogic.location}" />
</pathconvert>

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


Mime
View raw message