Re: Using a workspace-based VM in Eclipse

2006-01-08 Thread Christian Thalinger
On Sun, 2006-01-08 at 19:11 +0100, Christian Thalinger wrote: > But not everyone is compiling CACAO in eclipse. We need a more common > solution. Searching for a java compiler seems to be the best approach, > but how should this be done? Ok, again i found a good macro on http://ac-archive.source

Re: Using a workspace-based VM in Eclipse

2006-01-08 Thread Christian Thalinger
On Sun, 2006-01-08 at 10:29 -0700, Tom Tromey wrote: > Ideally we would somehow use Eclipse's built-in compiler, but this is > a pain since we've set Cacao up as a C project... Eclipse is kind of > limited here. Since we can't do that, second best is to search for > some other java compiler. But

Re: Using a workspace-based VM in Eclipse

2006-01-08 Thread Tom Tromey
> "Twisti" == Christian Thalinger <[EMAIL PROTECTED]> writes: Twisti> http://b2.complang.tuwien.ac.at/cgi-bin/bugzilla/show_bug.cgi?id=13 Twisti> I'll fix that ASAP. Should i grab the code from classpath? Personally I find Classpath's javac configury code to be pretty ugly. (But I've also ne

Re: Using a workspace-based VM in Eclipse

2006-01-08 Thread Christian Thalinger
On Fri, 2006-01-06 at 04:33 -0800, Anthony Green wrote: > This worked pretty well for me, thanks. I wasn't able to get cacao via > cvs (server down?), so I used jamvm. The only gotcha I had is that Yes, it was down (harddisk crash). It's up again and should work. TWISTI _

Re: Using a workspace-based VM in Eclipse

2006-01-08 Thread Christian Thalinger
On Fri, 2006-01-06 at 17:23 -0700, Tom Tromey wrote: > Raif> doesn't cacao also use jikes? (ref. > Raif> ${CACAO_HOME}/src/lib/vm/reference/Makefile.am) > > Yeah. Both VMs should be fixed :-) Thomas Fitzsimmons already filled a bug: http://b2.complang.tuwien.ac.at/cgi-bin/bugzilla/show_bug.cgi

Re: Using a workspace-based VM in Eclipse

2006-01-06 Thread Tom Tromey
> "Raif" == Raif S Naffah <[EMAIL PROTECTED]> writes: >> I just did 'yum install jikes'. We ought to fix this though. Raif> doesn't cacao also use jikes? (ref. Raif> ${CACAO_HOME}/src/lib/vm/reference/Makefile.am) Yeah. Both VMs should be fixed :-) Tom _

Re: Using a workspace-based VM in Eclipse

2006-01-06 Thread Raif S. Naffah
On Saturday 07 January 2006 01:55, Tom Tromey wrote: > > "Anthony" == Anthony Green <[EMAIL PROTECTED]> writes: > > Anthony> This worked pretty well for me, thanks. I wasn't able to > get Anthony> cacao via cvs (server down?), so I used jamvm. The only > Anthony> gotcha I had is that jamvm re

Re: Using a workspace-based VM in Eclipse

2006-01-06 Thread Tom Tromey
> "Anthony" == Anthony Green <[EMAIL PROTECTED]> writes: Anthony> This worked pretty well for me, thanks. I wasn't able to get Anthony> cacao via cvs (server down?), so I used jamvm. The only Anthony> gotcha I had is that jamvm requires jikes to build, which I Anthony> did't have installed.

Re: Using a workspace-based VM in Eclipse

2006-01-06 Thread Anthony Green
On Thu, 2005-12-22 at 12:34 -0700, Tom Tromey wrote: > I've checked in the Eclipse jar builder to Classpath head, and now my > fakejdk project is available. This means you can easily start playing > with an in-workspace VM in Eclipse. This worked pretty well for me, thanks. I wasn't able to get

Re: Using a workspace-based VM in Eclipse

2005-12-23 Thread Raif S. Naffah
hello Mark, On Friday 23 December 2005 21:56, Mark Wielaard wrote: > On Fri, 2005-12-23 at 19:56 +1100, Raif S. Naffah wrote: > > > Now, go to Window->Preferences->Java->Installed JREs and choose > > > 'Add...' to add a new one. I named mine "Cacao". For the JRE > > > home directory, choose $wor

Re: Using a workspace-based VM in Eclipse

2005-12-23 Thread Mark Wielaard
Hi Raif, On Fri, 2005-12-23 at 19:56 +1100, Raif S. Naffah wrote: > > Now, go to Window->Preferences->Java->Installed JREs and choose > > 'Add...' to add a new one. I named mine "Cacao". For the JRE home > > directory, choose $workspace/fakejdk. Then turn off "Use default > > system libraries"

Re: Using a workspace-based VM in Eclipse

2005-12-23 Thread Mark Wielaard
Hi Robert, On Thu, 2005-12-22 at 23:40 +, Robert Lougher wrote: > On 22 Dec 2005 12:34:42 -0700, Tom Tromey <[EMAIL PROTECTED]> wrote: > > To do this, follow the wiki instructions to check out and build > > Classpath and Cacao (as always, this VM is chosen because all the > > needed build bits

Re: Using a workspace-based VM in Eclipse

2005-12-23 Thread Raif S. Naffah
On Friday 23 December 2005 06:34, Tom Tromey wrote: > I've checked in the Eclipse jar builder to Classpath head, and now my > fakejdk project is available. This means you can easily start > playing with an in-workspace VM in Eclipse. > > To do this, follow the wiki instructions to check out and bu

Re: Using a workspace-based VM in Eclipse

2005-12-22 Thread Robert Lougher
Hi, On 22 Dec 2005 12:34:42 -0700, Tom Tromey <[EMAIL PROTECTED]> wrote: > To do this, follow the wiki instructions to check out and build > Classpath and Cacao (as always, this VM is chosen because all the > needed build bits are in its cvs repository... hint to the other VM > developers). > Hi

Re: Using a workspace-based VM in Eclipse

2005-12-22 Thread Tom Tromey
>> Anyway, commit that if you like. You have rhug access, right? Mark> No I don't think I have rhug access. You do now :-) Mark> It looks like the native side gets rebuild a lot though. I guess there Mark> are some dependencies wrong since I seem to trigger a full rebuild of Mark> cacao a lot w

Re: Using a workspace-based VM in Eclipse

2005-12-22 Thread Mark Wielaard
Hi Tom, On Thu, 2005-12-22 at 15:53 -0700, Tom Tromey wrote: > Yeah, that one is super bogus. And, I think, not actually needed. > > Anyway, commit that if you like. You have rhug access, right? No I don't think I have rhug access. > Mark> Strangely the attach source step didn't work. I alway

Re: Using a workspace-based VM in Eclipse

2005-12-22 Thread Tom Tromey
Mark> One of the symlinks didn't work for me. Attached is a patch for the Mark> tools.jar to try and find it in some other location. Generated by Mark> eclipse of course :) Yeah, that one is super bogus. And, I think, not actually needed. Anyway, commit that if you like. You have rhug access, r

Re: Using a workspace-based VM in Eclipse

2005-12-22 Thread Mark Wielaard
Hi Tom, On Thu, 2005-12-22 at 12:34 -0700, Tom Tromey wrote: > Once that is done, check out the fakejdk project from > :pserver:[EMAIL PROTECTED]:/cvs/rhug, module 'fakejdk'. > (This ought to auto-build, but if not, apply the usual Clean hack.) > This just makes a little project consisting of syml

Using a workspace-based VM in Eclipse

2005-12-22 Thread Tom Tromey
I've checked in the Eclipse jar builder to Classpath head, and now my fakejdk project is available. This means you can easily start playing with an in-workspace VM in Eclipse. To do this, follow the wiki instructions to check out and build Classpath and Cacao (as always, this VM is chosen because