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 19199] New: - Compiling 2nd jar file using ant 1.5.3 in windows 2K Server
Date Mon, 21 Apr 2003 18:16:42 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=19199>.
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=19199

Compiling 2nd jar file using ant 1.5.3 in windows 2K Server

           Summary: Compiling 2nd jar file using ant 1.5.3 in windows 2K
                    Server
           Product: Ant
           Version: 1.5.3
          Platform: Other
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Optional Tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: cm_vedula@rediffmail.com


What changes should be made in windows 2000 Server to get rid off this error?

when I run ant1.5.3 in windows 2K Server to get 2nd jar file to use in bea 
weblogi 
server6.1 using weblogic.ejbc I am getting the following error. The same ant 
application
is creating the jar files properly in windows-XP. So what are the steps to 
follow to 
run my program properly in windows-2000 Server also. The command I am using in 
ant is 
 
<font size=2>
&lt;target name="ejbc_FinalUserEntity" depends="Entity_jar"&gt;
 
          &lt;java classname="weblogic.ejbc" fork="yes"&gt; 
         &lt;sysproperty key="weblogic.home" value="${WL_HOME}"/&gt; 
         &lt;arg line="-compiler javac ${dist}/UserEntity.jar 
${dist}/FinalUserEntity.jar"/&gt; 
         &lt;classpath&gt; 
           &lt;pathelement 
path="${WL_LIB}/j2ee12.jar;${WL_LIB}/weblogic.jar"/&gt; 
          &lt;/classpath&gt; 
     &lt;/java&gt; 
  &lt;/target&gt;

ejbc_FinalUserEntity: 
     
     [java] java.io.IOException: CreateProcess: javac -nowarn -classpath 
C:\Users\Mouli\Java\J2EE\ManagingUserInfo\ejbcgen;C:\j2sdk1.4.1_02
\jre\lib\rt.jar;C:\j2sdk1.4.1_02jre\lib\i18n.jar;C:\j2sdk1.4.1_02
\jre\lib\sunrsasign.jar;C:\j2sdk1.4
.1_02\jre\lib\jsse.jar;C:\j2sdk1.4.1_02\jre\lib\jce.jar;C:\j2sdk1.4.1_02\jre\lib
\charsets.jar;C:\j2sdk1.4.1_02\jre\classes;C:\bea\wlserver6.1\lib\j2ee12.jar;C:\
bea\wlserver6.1\lib\weblogic.jar;C:\Users\Mouli\Java\J2EE\ManagingUserInfo;C:\Us
ers\Mouli\Java\J2EE\ManagingUserInfo\dist;C:\Users\Mouli\Java\J2EE\ManagingUserI
nfo\dist\DataObject.jar -d C:\Users\Mouli\Java\J2EE\ManagingUserInfo\ejbcgen C:\
Users\Mouli\Java\J2EE\ManagingUserInfo\ejbcgen\com\ntc\myejb\userentity\*.java 
error=2
 
  [java]     at java.lang.Win32Process.create(Native Method)
     [java]     at java.lang.Win32Process.&lt;init&gt;(Win32Process.java:63)
  [java]    at java.lang.Runtime.execInternal(Native Method)
     [java]     at java.lang.Runtime.exec(Runtime.java:566)
     [java]     at java.lang.Runtime.exec(Runtime.java:491)
     [java]     at java.lang.Runtime.exec(Runtime.java:457)
     [java]     at weblogic.utils.Executable.exec(Executable.java:200)
     [java]     at weblogic.utils.Executable.exec(Executable.java:125) 
     [java]     at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit
(CompilerInvoker.java:545) 
     [java]     at weblogic.utils.compiler.CompilerInvoker.compile
(CompilerInvoker.java:372) 
     [java]     at weblogic.utils.compiler.CompilerInvoker.compile
(CompilerInvoker.java:363) 
     [java]    at weblogic.ejb20.ejbc.EJBCompiler.compileEJB
(EJBCompiler.java:245) 

    [java]     at weblogic.ejbc20.runBody(ejbc20.java:360)
  [java]   at weblogic.utils.compiler.Tool.run(Tool.java:79)
     [java]     at weblogic.ejbc.main(ejbc.java:21)
     [java] Exec failed .. exiting
     [java] Java Result: 1

Kindly suggest me a suggestion why I am getting an error like that in windows-
2000 Server and not in windows XP. Give me a solution with an example.
Thank You,

Mouli V C
E-mail:cm_vedula@mail.com

Mime
View raw message