Re: Update [was Re: weblogic rmic]

2007-11-07 Thread Steve Loughran

Kev Jackson wrote:

Since this problem seems to have been around for 6+ years now, I vote 
that we switch off these unit tests and move on.



 [Vote] WebLogic Rmic tool sucks so:
 [X] enough already, we need ant 1.7.1 released regardless of crappy 3rd
 party tools that have never worked properly (update docs to point out
 weblogic rmic glaring incompatibilities with ant, switch off the unit
 test to get a clean build)

 [ ] no lets bang our heads against a brick wall for a few more years
 trying to fix this junk


--
Steve Loughran  http://www.1060.org/blogxter/publish/5
Author: Ant in Action   http://antbook.org/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Update [was Re: weblogic rmic]

2007-11-06 Thread Peter Reilly
On 11/6/07, Kev Jackson [EMAIL PROTECTED] wrote:
 Hi,
  You probally need an old version of weblogic*.jar

 By this do you mean that an old version of weblogic*.jars will remove
 the problem I'm having getting a clean set of tests? Or do you mean that
 the older jars will create the ant-weblogic.jar?
I meant the creation of the ant-weblogic.jar.


 The error doesn't seem to be caused by a missing ant-weblogic.jar, as it
 appears that the classpath is incorrect somehow and the testWlrmic
 cannot find the RemoteTimestampImpl class.

 I've just test on Ubuntu Gutsy, JDK6 (update 3), and I get the same rmic
 error.  So this isn't a Windows only thing.
Does it work with JDK5?

Peter


 As I mentioned previously, it's the exact same error Antoine came across
 in 2004, so it must have been solved somehow.

 My guess is a configuration issue.

 Thanks,
 Kev

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Update [was Re: weblogic rmic]

2007-11-06 Thread Kev Jackson

Hi,


I meant the creation of the ant-weblogic.jar.


Well I don't think that's a problem anyway as test case clearly calls 
the weblogic rmic tool and clearly executes before failing to find the 
test class - I guess we don't ship an ant-weblogic.jar anymore



Does it work with JDK5?


Nope, it also doesn't work on 1.4.2 (the oldest jdk I tracked down)

Kev

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Update [was Re: weblogic rmic]

2007-11-06 Thread Peter Reilly
On 11/6/07, Kev Jackson [EMAIL PROTECTED] wrote:
 Hi,

  I meant the creation of the ant-weblogic.jar.

 Well I don't think that's a problem anyway as test case clearly calls
 the weblogic rmic tool and clearly executes before failing to find the
 test class - I guess we don't ship an ant-weblogic.jar anymore
We need to ship ant-weblogic.jar for ant 1.7.1.
(Unless we vote to drop it from that release).
We will not ship it in ant 1.8.0.



  Does it work with JDK5?

 Nope, it also doesn't work on 1.4.2 (the oldest jdk I tracked down)

I can only assume that the test tests the behavior of an old version
of weblogic rmic tool.

Peter

 Kev

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Update [was Re: weblogic rmic]

2007-11-06 Thread Kev Jackson

Hi,


We need to ship ant-weblogic.jar for ant 1.7.1.
(Unless we vote to drop it from that release).
We will not ship it in ant 1.8.0.



That means that somehow I have to get the build to create the 
ant-weblogic.jar



I can only assume that the test tests the behavior of an old version
of weblogic rmic tool.


Perhaps, but it behaves as if the classpath is messed up, not as if the 
weblogic tool is incorrect in some way


Kev

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Update [was Re: weblogic rmic]

2007-11-06 Thread Steve Loughran

Kev Jackson wrote:

Hi,


We need to ship ant-weblogic.jar for ant 1.7.1.
(Unless we vote to drop it from that release).
We will not ship it in ant 1.8.0.



That means that somehow I have to get the build to create the 
ant-weblogic.jar


or we have a vote.

One thing is clear: weblogic rmic was broken on ant1.7.0. nobody noticed.





I can only assume that the test tests the behavior of an old version
of weblogic rmic tool.


Perhaps, but it behaves as if the classpath is messed up, not as if the 
weblogic tool is incorrect in some way


Kev

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Steve Loughran  http://www.1060.org/blogxter/publish/5
Author: Ant in Action   http://antbook.org/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Update [was Re: weblogic rmic]

2007-11-06 Thread Kev Jackson

Hi,


or we have a vote.

One thing is clear: weblogic rmic was broken on ant1.7.0. nobody noticed.



Well I've just tested with Ant 1.6.5 (from svn), and I get exactly the 
same error:


 [rmic] RemoteTimestampImpl must be a remote interface 
implementation and should exist in the classpath


The classpath is fine (and the code works perfectly with compiler=sun)

This is the showstopper for an alpha release right now.

This email from 2001 (Ant 1.4) exhibits the exact same behaviour:

http://mail-archives.apache.org/mod_mbox/ant-user/200106.mbox/[EMAIL PROTECTED]

Namely, the weblogic rmic task requires a global CLASSPATH to be set.  I 
added a CLASSPATH var and all of a sudden the error disappeared.  I'm 
still not sure it works as I was expecting a WL_stub.class to appear in 
the output directory, but the error went away.


Since this problem seems to have been around for 6+ years now, I vote 
that we switch off these unit tests and move on.


[Vote] WebLogic Rmic tool sucks so:
[X] enough already, we need ant 1.7.1 released regardless of crappy 3rd 
party tools that have never worked properly (update docs to point out 
weblogic rmic glaring incompatibilities with ant, switch off the unit 
test to get a clean build)


[ ] no lets bang our heads against a brick wall for a few more years 
trying to fix this junk


Thanks,
Kev

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Update [was Re: weblogic rmic]

2007-11-05 Thread Kev Jackson

Hi,

You probally need an old version of weblogic*.jar


By this do you mean that an old version of weblogic*.jars will remove 
the problem I'm having getting a clean set of tests? Or do you mean that 
the older jars will create the ant-weblogic.jar?


The error doesn't seem to be caused by a missing ant-weblogic.jar, as it 
appears that the classpath is incorrect somehow and the testWlrmic 
cannot find the RemoteTimestampImpl class.


I've just test on Ubuntu Gutsy, JDK6 (update 3), and I get the same rmic 
error.  So this isn't a Windows only thing.


As I mentioned previously, it's the exact same error Antoine came across 
in 2004, so it must have been solved somehow.


My guess is a configuration issue.

Thanks,
Kev

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]