Hi,

there is a commandline argument missing in WLRmic. This is the diff against
the 1.4 Branch. 


cvs diff WLRmic.java (in directory
C:\dev\jakarta-ant\src\main\org\apache\tools\ant\taskdefs\rmic\)
Index: WLRmic.java
===================================================================
RCS file:
/home/cvspublic/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/rmic/WLRm
ic.java,v
retrieving revision 1.4
diff -r1.4 WLRmic.java
81c81
<             Method doRmic = c.getMethod("main", 
---
>             Method doRmic = c.getMethod("main",
83c83
<             doRmic.invoke(null, new Object[] {  });
---
>             doRmic.invoke(null, new Object[] {cmd.getArguments()  });

*****CVS exited normally with code 1*****

Should I send something else as a patch? If yes, could someone give me a
short explanation how I could create a better patch / point me to an
explanation in the web? 

There is another problem with WLRmic. It expects the weblogic classes to be
on the classpath. Putting the one fat WebLogic jar into the ant lib
directory seems to break some other code. I get the following exception:

[fbs3] C:\dev\hoppe\fbs3\build>a make
Buildfile: thisconfig\make.xml

BUILD FAILED

java.lang.VerifyError: (class:
org/apache/tools/ant/taskdefs/optional/junit/XMLResultAggregator, method:
getDestinationFile signature: ()Ljava/io/File;) Incompatible type for
getting or setting field
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:120)
        at org.apache.tools.ant.Project.init(Project.java:163)
        at org.apache.tools.ant.Main.runBuild(Main.java:387)
        at org.apache.tools.ant.Main.main(Main.java:149)

Total time: 0 seconds
(class: org/apache/tools/ant/taskdefs/optional/junit/XMLResultAggregator,
method: getDestinationFile signature: ()Ljava/io/File;) Incompatible type
for getting or setting field
[fbs3] C:\dev\hoppe\fbs3\build>

It works when I just cut just some required classes out of the big WebLogic
jar and place them in the lib directory. Does anyone have a clue where I
could start to dig deeper? 

Thanks,

Daniel

<<<<<<<<<<<<<<<<<<<<<<<<<<<
sitewaerts GmbH
Hebelstra�e 15
D-76133 Karlsruhe

Tel: +49 (721) 920 918 0
Fax: +49 (721) 920 918 29
http://www.sitewaerts.de
>>>>>>>>>>>>>>>>>>>>>>>>>>>


Reply via email to