You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@gump.apache.org by Davanum Srinivas <da...@gmail.com> on 2004/12/13 13:35:36 UTC

[xalan][kaffe] Xalan build with Jikes uses classes in rt.jar

Folks,

After spening 4+ hourse....Xalan build with Jikes on JDK1.4 succeeds
because it uses classes in rt.jar and FAILS in Kaffe because the
classes are not present.

-- dims

-- 
Davanum Srinivas - http://webservices.apache.org/~dims/

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


Re: [xalan][kaffe] Xalan build with Jikes uses classes in rt.jar

Posted by Davanum Srinivas <da...@gmail.com>.
no, this was the ElemVariable/xalan build problem.

-- dims


On Tue, 14 Dec 2004 14:49:07 +0000 (UTC), Dalibor Topic
<ro...@kaffe.org> wrote:
> Stefan Bodewig <bodewig <at> apache.org> writes:
> 
> >
> > On Tue, 14 Dec 2004, Davanum Srinivas <davanum <at> gmail.com> wrote:
> >
> > > not yet...right now am trying the new jikes compiler.
> >
> > I'm rather pessimistic.
> >
> > It is not really jikes' fault.  It gets to compile
> 
> If we are talking about jikes erranously getting confused about deprecation
> warnigs and treating them ocassionally as errors, I believe that was a bug in
> jikes and is supposedly fixed in jikes CVS.
> 
> See
> http://www-124.ibm.com/developerworks/bugs/
> ?func=detailbug&bug_id=4059&group_id=10
> 
> (sorry for split url)
> 
> cheers,
> dalibor topic
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
> For additional commands, e-mail: general-help@gump.apache.org
> 
> 


-- 
Davanum Srinivas - http://webservices.apache.org/~dims/

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


Re: [xalan][kaffe] Xalan build with Jikes uses classes in rt.jar

Posted by Dalibor Topic <ro...@kaffe.org>.
Stefan Bodewig <bodewig <at> apache.org> writes:

> 
> On Tue, 14 Dec 2004, Davanum Srinivas <davanum <at> gmail.com> wrote:
> 
> > not yet...right now am trying the new jikes compiler.
> 
> I'm rather pessimistic.
> 
> It is not really jikes' fault.  It gets to compile

If we are talking about jikes erranously getting confused about deprecation
warnigs and treating them ocassionally as errors, I believe that was a bug in
jikes and is supposedly fixed in jikes CVS.

See
http://www-124.ibm.com/developerworks/bugs/
?func=detailbug&bug_id=4059&group_id=10

(sorry for split url)

cheers,
dalibor topic


---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


Re: [xalan][kaffe] Xalan build with Jikes uses classes in rt.jar

Posted by Stefan Bodewig <bo...@apache.org>.
On Tue, 14 Dec 2004, Davanum Srinivas <da...@gmail.com> wrote:

> not yet...right now am trying the new jikes compiler.

I'm rather pessimistic.

It is not really jikes' fault.  It gets to compile

/GUMP_PATH/xml-xalan/java/src/org/apache/xpath/compiler/Compiler.java

and has 

/GUMP_PATH/xml-xalan/java/src:/GUMP_PATH/xml-xalan/java/src/org/apache/xpath:/GUMP_PATH/xml-xalan/java/src/org/apache/xpath/compiler

as sourcepath, so without reading the source file, the class could be
in org.apache.xpath.compiler or compiler or the default package.  My
guess is that Jikes avoids parsing some source files or simply gets
confused by the options.

> fresh from their cvs. will try build.xml changes to xalan by hand
> later today.

Thanks

        Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


Re: [xalan][kaffe] Xalan build with Jikes uses classes in rt.jar

Posted by Davanum Srinivas <da...@gmail.com>.
not yet...right now am trying the new jikes compiler. fresh from their
cvs. will try build.xml changes to xalan by hand later today.

-- dims


On Tue, 14 Dec 2004 12:18:07 +0100, Stefan Bodewig <bo...@apache.org> wrote:
> On Tue, 14 Dec 2004, Davanum Srinivas <da...@gmail.com> wrote:
> 
> > Yes, as i as saying on the kaffe IRC...
> 
> Sorry, I don't have the bandwidth for IRC, so I didn't know.  Thanks
> for the information.
> 
> > this is a temp hack just to get us going. Yes, i will do this
> > today. letting the 3:00 AM PST run to go ahead right now.
> 
> With a modified build.xml for Xalan?
> 
> Cheers
> 
>         Stefan
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
> For additional commands, e-mail: general-help@gump.apache.org
> 
> 


-- 
Davanum Srinivas - http://webservices.apache.org/~dims/

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


Re: [xalan][kaffe] Xalan build with Jikes uses classes in rt.jar

Posted by Stefan Bodewig <bo...@apache.org>.
On Tue, 14 Dec 2004, Davanum Srinivas <da...@gmail.com> wrote:

> Yes, as i as saying on the kaffe IRC...

Sorry, I don't have the bandwidth for IRC, so I didn't know.  Thanks
for the information.

> this is a temp hack just to get us going. Yes, i will do this
> today. letting the 3:00 AM PST run to go ahead right now.

With a modified build.xml for Xalan?

Cheers

        Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


Re: [xalan][kaffe] Xalan build with Jikes uses classes in rt.jar

Posted by Davanum Srinivas <da...@gmail.com>.
Stefan,

Yes, as i as saying on the kaffe IRC...this is a temp hack just to get
us going. Yes, i will do this today. letting the 3:00 AM PST run to go
ahead right now.

-- dims


On Tue, 14 Dec 2004 10:50:35 +0100, Stefan Bodewig <bo...@apache.org> wrote:
> On Mon, 13 Dec 2004, Davanum Srinivas <da...@gmail.com> wrote:
> 
> > Well, i was right :) xalan got compiled :) :)
> 
> Yes, but for the wrong reason 8-(
> 
> Could you please try my suggestion (I don't have Kaffe installed
> locally)?  The sourcepath is simply silly and causes any compiler to
> get confused.
> 
> Stefan
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
> For additional commands, e-mail: general-help@gump.apache.org
> 
> 


-- 
Davanum Srinivas - http://webservices.apache.org/~dims/

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


Re: [xalan][kaffe] Xalan build with Jikes uses classes in rt.jar

Posted by Stefan Bodewig <bo...@apache.org>.
On Mon, 13 Dec 2004, Davanum Srinivas <da...@gmail.com> wrote:

> Well, i was right :) xalan got compiled :) :)

Yes, but for the wrong reason 8-(

Could you please try my suggestion (I don't have Kaffe installed
locally)?  The sourcepath is simply silly and causes any compiler to
get confused.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


Re: [xalan][kaffe] Xalan build with Jikes uses classes in rt.jar

Posted by Davanum Srinivas <da...@gmail.com>.
Well, i was right :) xalan got compiled :) :)

http://brutus.apache.org/gump/kaffe/buildLog.html

-- dims


On Mon, 13 Dec 2004 10:50:08 -0500, Stefano Mazzocchi
<st...@apache.org> wrote:
> Davanum Srinivas wrote:
> > Folks,
> >
> > After spening 4+ hourse....Xalan build with Jikes on JDK1.4 succeeds
> > because it uses classes in rt.jar and FAILS in Kaffe because the
> > classes are not present.
> 
> which classes?
> 
> --
> Stefano.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
> For additional commands, e-mail: general-help@gump.apache.org
> 
> 


-- 
Davanum Srinivas - http://webservices.apache.org/~dims/

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


Re: [xalan][kaffe] Xalan build with Jikes uses classes in rt.jar

Posted by Stefano Mazzocchi <st...@apache.org>.
Davanum Srinivas wrote:
> Folks,
> 
> After spening 4+ hourse....Xalan build with Jikes on JDK1.4 succeeds
> because it uses classes in rt.jar and FAILS in Kaffe because the
> classes are not present.

which classes?

-- 
Stefano.


---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


Re: [xalan][kaffe] Xalan build with Jikes uses classes in rt.jar

Posted by Stefan Bodewig <bo...@apache.org>.
On Mon, 13 Dec 2004, Stefan Bodewig <bo...@apache.org> wrote:

> Could you try the same for Kaffe?

"the same" is

Index: build.xml
===================================================================
RCS file: /home/cvspublic/xml-xalan/java/build.xml,v
retrieving revision 1.213
diff -u -r1.213 build.xml
--- build.xml	28 Oct 2004 20:04:38 -0000	1.213
+++ build.xml	13 Dec 2004 14:09:28 -0000
@@ -388,7 +388,7 @@
       <exclude name="${xsltc.reldir}/**/*.java" />
       <classpath refid="compile.class.path" />
       <bootclasspath refid="xslt.boot.class.path" />
-      <sourcepath refid="compile.source.path" />
+      <!--sourcepath refid="compile.source.path" /-->
     </javac>
     <!-- Copy needed properties, resource, etc. files to be put into .jar file -->
     <copy todir="${build.classes}">

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


Re: [xalan][kaffe] Xalan build with Jikes uses classes in rt.jar

Posted by Stefan Bodewig <bo...@apache.org>.
On Mon, 13 Dec 2004, Davanum Srinivas <da...@gmail.com> wrote:

> It's a mix of a jikes bug and this one....Jikes croaks especially if
> you switch the dependency checking on. it's unable to figure out
> that it needs to compile ElemVariable.java file.

Even if it gets it passed on the command line (which my verbose output
says Ant would do)?

In my JDK 1.3 experiments the same <javac> task compiles ElemVariable
and creates ElemVariable.class that also fails to compile the Variable
class because it wasn't there.

Hmm, if I remove the really really strange and wrong <sourcepath>
defintion from build.xml's line 391, jikes works without problems on
JDK 1.3.

Could you try the same for Kaffe?

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


Re: [xalan][kaffe] Xalan build with Jikes uses classes in rt.jar

Posted by Davanum Srinivas <da...@gmail.com>.
It's a mix of a jikes bug and this one....Jikes croaks especially if
you switch the dependency checking on. it's unable to figure out that
it needs to compile ElemVariable.java file. So instead it picks up the
class from rt.jar. I confirmed this by printing the exact jikes
command line executed by ant and mucking around with it. both under
jdk14 and Kaffe.

thanks,
dims


On Mon, 13 Dec 2004 14:38:23 +0100, Stefan Bodewig <bo...@apache.org> wrote:
> On Mon, 13 Dec 2004, Davanum Srinivas <da...@gmail.com> wrote:
> 
> > Xalan build with Jikes on JDK1.4 succeeds because it uses classes in
> > rt.jar and FAILS in Kaffe because the classes are not present.
> 
> Are you sure?
> 
> The current Kaffe run failed because jikes didn't find
> org.apache.xalan.templates.ElemVariable - this class is part of the
> xml-xalan CVS checkout.
> 
> I'll try to dig into it myself as well.
> 
> Stefan
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
> For additional commands, e-mail: general-help@gump.apache.org
> 
> 


-- 
Davanum Srinivas - http://webservices.apache.org/~dims/

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


Re: [xalan][kaffe] Xalan build with Jikes uses classes in rt.jar

Posted by Stefan Bodewig <bo...@apache.org>.
On Mon, 13 Dec 2004, Stefan Bodewig <bo...@apache.org> wrote:

> I'll try to dig into it myself as well.

OK, building Xalan-J with JDK 1.3 and Jikes fails (even outside of
Gump) at the same position the Kaffe build fails.  If I run it a
second time, it passes.  So I assume jikes is not adding some output
directory to the classpath where Sun's javac does.

I'll investigate the verbose output and let you know.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


Re: [xalan][kaffe] Xalan build with Jikes uses classes in rt.jar

Posted by Stefan Bodewig <bo...@apache.org>.
On Mon, 13 Dec 2004, Davanum Srinivas <da...@gmail.com> wrote:

> Xalan build with Jikes on JDK1.4 succeeds because it uses classes in
> rt.jar and FAILS in Kaffe because the classes are not present.

Are you sure?

The current Kaffe run failed because jikes didn't find
org.apache.xalan.templates.ElemVariable - this class is part of the
xml-xalan CVS checkout.

I'll try to dig into it myself as well.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org