ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 5094] - CMP EJBs require weblogic.home system property with weblogic subtask
Date Sat, 08 Dec 2001 17:45:26 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5094>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5094

CMP EJBs require weblogic.home system property with weblogic subtask





------- Additional Comments From bruce@callenish.com  2001-12-08 09:45 -------
Yes, as my original message to the ant-users mailing list said (http://www.mail-
archive.com/ant-user@jakarta.apache.org/msg10758.html), I tried many ways of 
getting that system property in there, including by adding it to the ant shell 
script. All failed. It appears that when one JVM launches another, it doesn't 
pass its system properties along.

The patch I offered is a hack to get around this, but it works. In thinking 
about the problem further, it occurs to me that the best (read "least hackish") 
approach may be to let any task which manually loads Ant's Java class to also 
allow <java> as an element within. More work, but much more flexible. Of 
course, if their were no <java> element within, the Java class would still be 
created manually.

Better? Or is the simple patch I offered more appropriate because it keeps the 
complexity to a minimum?

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


Mime
View raw message