Scott, Thanks for pointing that out. I will change the EJB tasks to use the new Path object.
Conor -- Conor MacNeill [EMAIL PROTECTED] Cortex eBusiness http://www.cortexebusiness.com.au > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of > Scott Sutherland > Sent: Tuesday, 18 July 2000 4:37 > To: [EMAIL PROTECTED] > Subject: Re: Ejbc.java, WLRun.java, WLStop.java > > > >>>>> "c" == conor <[EMAIL PROTECTED]> writes: > > c> conor 00/07/05 08:36:29 Modified: . build.xml > > c> Tasks for EJB development under Weblogic Server 4.51 > > c> This consists of four tasks - (documentation is coming) ddcreator - > c> converts deployment descriptors form text description to .ser files > c> ejbc - wrapper around weblogic ejbc compiler wlrun - a task to run > c> a weblogic server wlstop - a task to stop a weblogic server > > c> The last two tasks are most useful when they can be run > c> asynchronously (also coming). > > This commit appears to cause problems when attempting to build ant. > The build environment includes: Weblogic 5.1.0 and JDK1.3. The > optional packages are attempting to build (as they should) and the > workaround is trivial, however, the problems appear to be ant related. > > Here is the output of bootstrap.bat: > > --- begin paste --- > D:\usr\src\jakarta-ant>bootstrap > > ... Bootstrapping Ant Distribution > JAVA_HOME=d:\win32app\jdk1.3 > JAVA=d:\win32app\jdk1.3\bin\java > JAVAC=d:\win32app\jdk1.3\bin\javac > CLASSPATH=d:\win32app\weblogic-5.1.0\classes;d:\win32app\jdbc\clas > ses12.zip;d:\usr\Java\jaxp1.0.1\jaxp.jar;d:\usr\Java\jaxp1.0.1\par > ser.jar;D:\win32app\weblogic-5.1.0\lib\weblogicaux.jar;;d:\win32ap > p\jdk1.3\lib\tools.jar;classes;src\main > > ... Compiling Ant Classes > > ... Copying Required Files > src\main\org\apache\tools\ant\taskdefs\defaults.properties > 1 file(s) copied. > > ... Building Ant Distribution > Buildfile: build.xml > > clean: > [deltree] Deleting: D:\usr\src\build\ant > [deltree] Deleting: D:\usr\src\dist\ant > > prepare: > [mkdir] Created dir: D:\usr\src\build\ant > > check_for_optional_packages: > > compile: > [mkdir] Created dir: D:\usr\src\build\ant\classes > [javac] Compiling 76 source files to D:\usr\src\build\ant\classes > [javac] > D:\usr\src\jakarta-ant\src\main\org\apache\tools\ant\taskdefs\opti > onal\ejb\Ejbc.java:146: > Incompatible type for method. Can't convert java.lang.String to > org.apache.tools.ant.Path. > [javac] helperTask.setClasspath(execClassPath); > [javac] ^ > [javac] > D:\usr\src\jakarta-ant\src\main\org\apache\tools\ant\taskdefs\opti > onal\ejb\WLRun.java:159: > Incompatible type for method. Can't convert java.lang.String to > org.apache.tools.ant.Path. > [javac] weblogicServer.setClasspath(execClassPath); > [javac] ^ > [javac] > D:\usr\src\jakarta-ant\src\main\org\apache\tools\ant\taskdefs\opti > onal\ejb\WLStop.java:119: > Incompatible type for method. Can't convert java.lang.String to > org.apache.tools.ant.Path. > [javac] weblogicAdmin.setClasspath(execClassPath); > [javac] ^ > [javac] 3 errors > > BUILD FAILED > > build.xml:71: Compile failed > > Total time: 42 seconds > > ... Cleaning Up Build Directories > > ... Done Bootstrapping Ant Distribution > > --- end paste --- > > Scott > > -- > Scott Sutherland National Computer Systems > (319) 354-9200 Measurement Services Division > [EMAIL PROTECTED] Iowa City, Ia > import my.standard.disclaimer.*; GO HAWKS!!! > > "Coding in windows is sort of like writing a biography about a > person who won't tell you anything about themselves." - jheart8 > >
