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=9973>. 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=9973 Answer for groelen ------- Additional Comments From [EMAIL PROTECTED] 2002-06-19 14:52 ------- "The Environment Variable is global to the shell in which it is invoked The developer does not need to recompile the code since the Environment Variable is outside the code.." What is this about recompiling the code? What code? If you pass the home directory as an attribute to the WebSphere element you also don't have to recompile the code. I just thought it might be more logical to set the home directory as an attribute of the websphere element. Since that is the normal way of passing values to an element instead of using properties. Instead of this: ... <property name="websphere.home" value="c:${file.separator} WebSphere${file.separator}AppServer"/> ... <target name="buildEJBWebSphere"> ... <websphere keepgeneric="true" dbvendor="${server.ejb.dbvendor}" ejbdeploy="true" oldCMP="false" tempdir="${computer.temp}" destdir="${server.deploy.ejb}" suffix="${server.deploy.ejb.suffix}"> <wasclasspath refid="was.class.path" /> <classpath refid="project.class.path" /> </websphere> ... </target> ... you would have something like this: ... <target name="buildEJBWebSphere"> ... <websphere washome="c:${file.separator}WebSphere${file.separator}AppServer" keepgeneric="true" dbvendor="${server.ejb.dbvendor}" ejbdeploy="true" oldCMP="false" tempdir="${computer.temp}" destdir="${server.deploy.ejb}" suffix="${server.deploy.ejb.suffix}"> <wasclasspath refid="was.class.path" /> <classpath refid="project.class.path" /> </websphere> ... </target> ... Also, if the websphere home directory has to be set by using a property, it should at least be mentioned in the documentation. Because now the only way of knowing you have to set that property, is by looking in the source code of ANT. (or I overlooked something) -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
