|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
[rvm-research] problem using eclipse to edit jikesHi all,
My name's Alex and I've just joined this group. So hello to everybody! I have a (hopefully easy-to-solve) problem when using eclipse to edit jikes. I followed the steps of the web page: $ svn co https://jikesrvm.svn.sf.net/svnroot/jikesrvm/rvmroot/trunk jikesrvm $ cd jikesrvm $ bin/buildit --eclipse localhost (everything looks fine, it says "BUILD SUCCESSFUL" and also "Config : production [SUCCESS dj mai 14 16:21:33 CEST 2009]") So then I proceed: # From Eclipse, select File-->Import # Select "Existing Projects Into Workspace" Apparently the compilation had worked fine but when I import the eclipse project I get some errors in a couple of files. All the errors look very much the same (I copy them below). If I compile the jikes rvm without caring about eclipse support, just with "ant main", everything works fine and I can use "./dist/*/rvm" to execute java byte code. But I want to edit some parts of the code and being able to work with eclipse would be great... Did anyone have the same problem? Does anyone have any suggestion about how to solve it? Thanks in advance! Alex Error list: Severity and Description Path Resource Location Creation Time Id The method getField(Class<CounterArrayManager>, String, Class<double[][]>) is undefined for the type AosEntrypoints JikesRVM ia32-linux production/rvm/src/org/jikesrvm/adaptive AosEntrypoints.java line 36 1242302202859 134453 The method getField(Class<CounterBasedSampling>, String, Class<Integer>) is undefined for the type AosEntrypoints JikesRVM ia32-linux production/rvm/src/org/jikesrvm/adaptive AosEntrypoints.java line 42 1242302202859 134456 The method getField(Class<CounterBasedSampling>, String, Class<Integer>) is undefined for the type AosEntrypoints JikesRVM ia32-linux production/rvm/src/org/jikesrvm/adaptive AosEntrypoints.java line 45 1242302202859 134458 The method getField(Class<EdgeListener>, String, Class<Integer>) is undefined for the type AosEntrypoints JikesRVM ia32-linux production/rvm/src/org/jikesrvm/adaptive AosEntrypoints.java line 30 1242302202859 134450 The method getField(Class<EdgeListener>, String, Class<Integer>) is undefined for the type AosEntrypoints JikesRVM ia32-linux production/rvm/src/org/jikesrvm/adaptive AosEntrypoints.java line 32 1242302202859 134451 The method getField(Class<InvocationCounts>, String, Class<int[]>) is undefined for the type AosEntrypoints JikesRVM ia32-linux production/rvm/src/org/jikesrvm/adaptive AosEntrypoints.java line 38 1242302202859 134454 The method getField(Class<MethodListener>, String, Class<Integer>) is undefined for the type AosEntrypoints JikesRVM ia32-linux production/rvm/src/org/jikesrvm/adaptive AosEntrypoints.java line 28 1242302202859 134449 The method getField(Class<RVMThread>, String, Class<Integer>) is undefined for the type AosEntrypoints JikesRVM ia32-linux production/rvm/src/org/jikesrvm/adaptive AosEntrypoints.java line 43 1242302202859 134457 The method getField(Class<SpecializedMethodPool>, String, Class<ArchitectureSpecific.CodeArray[]>) is undefined for the type AosEntrypoints JikesRVM ia32-linux production/rvm/src/org/jikesrvm/adaptive AosEntrypoints.java line 47 1242302202859 134459 The method getField(Class<YieldCounterListener>, String, Class<Integer>) is undefined for the type AosEntrypoints JikesRVM ia32-linux production/rvm/src/org/jikesrvm/adaptive AosEntrypoints.java line 34 1242302202859 134452 The method getMethod(Class<InvocationCounts>, String, String) is undefined for the type AosEntrypoints JikesRVM ia32-linux production/rvm/src/org/jikesrvm/adaptive AosEntrypoints.java line 40 1242302202859 134455 The method getMethod(Class<ObjectHolder>, String, String) is undefined for the type AosEntrypoints JikesRVM ia32-linux production/rvm/src/org/jikesrvm/adaptive AosEntrypoints.java line 25 1242302202857 134447 The method getMethod(Class<ObjectHolder>, String, String) is undefined for the type AosEntrypoints JikesRVM ia32-linux production/rvm/src/org/jikesrvm/adaptive AosEntrypoints.java line 26 1242302202857 134448 The method getField(Class<JNIEnvironment>, String, Class<Address>) is undefined for the type Entrypoints JikesRVM ia32-linux production/rvm/src/org/jikesrvm/runtime Entrypoints.java line 316 1242302197106 134139 The method getField(Class<RVMThread>, String, Class<Address>) is undefined for the type Entrypoints JikesRVM ia32-linux production/rvm/src/org/jikesrvm/runtime Entrypoints.java line 224 1242302197106 134133 The method getField(Class<RVMThread>, String, Class<ArchitectureSpecific.Registers>) is undefined for the type Entrypoints JikesRVM ia32-linux production/rvm/src/org/jikesrvm/runtime Entrypoints.java line 238 1242302197106 134135 The method getField(Class<RVMThread>, String, Class<Boolean>) is undefined for the type Entrypoints JikesRVM ia32-linux production/rvm/src/org/jikesrvm/runtime Entrypoints.java line 285 1242302197106 134136 The method getField(Class<RVMThread>, String, Class<byte[]>) is undefined for the type Entrypoints JikesRVM ia32-linux production/rvm/src/org/jikesrvm/runtime Entrypoints.java line 222 1242302197106 134132 The method getField(Class<RVMThread>, String, Class<Integer>) is undefined for the type Entrypoints JikesRVM ia32-linux production/rvm/src/org/jikesrvm/runtime Entrypoints.java line 195 1242302197106 134130 The method getField(Class<RVMThread>, String, Class<JNIEnvironment>) is undefined for the type Entrypoints JikesRVM ia32-linux production/rvm/src/org/jikesrvm/runtime Entrypoints.java line 228 1242302197106 134134 The method getField(Class<SpinLock>, String, Class<RVMThread>) is undefined for the type Entrypoints JikesRVM ia32-linux production/rvm/src/org/jikesrvm/runtime Entrypoints.java line 290 1242302197106 134138 The method getMethod(Class<RuntimeEntrypoints>, String, String) is undefined for the type Entrypoints JikesRVM ia32-linux production/rvm/src/org/jikesrvm/runtime Entrypoints.java line 95 1242302197106 134129 The method getMethod(Class<RVMThread>, String, String) is undefined for the type Entrypoints JikesRVM ia32-linux production/rvm/src/org/jikesrvm/runtime Entrypoints.java line 221 1242302197106 134131 The method getMethod(Class<RVMThread>, String, String) is undefined for the type Entrypoints JikesRVM ia32-linux production/rvm/src/org/jikesrvm/runtime Entrypoints.java line 287 1242302197106 134137 ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Jikesrvm-researchers mailing list Jikesrvm-researchers@... https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers |
|
|
Re: [rvm-research] problem using eclipse to edit jikesHi Alex,
I have seen the same behaviour. You need not mind, though, everything works just fine if you just ignore these errors. As far as my research group knows, building the RVM inside eclipse does not work, so you can just disregard these errors and build RVM images from the command line as described. Notice that if you change files from the /rvm/src-generated folder, you have to redo the compilation, preferrably after doing "ant real-clean", though "ant very-clean" (in any case followed by a nomal "ant") is often sufficient for some files to be regenerated, even if you edit them from inside eclipse. (If you do the recompliation for such files -- they include the definition of command-line parameters, which you might want to customize -- don't forget to refresh the eclipse project.) In addition, I have sometimes been able to remove these errors when I bothered to by forcing the recompilation of the files in question. I.e., I made some disturbing change to the (AOS)Entrypoints.java file (like putting a whitespace into a method name, thereby breaking the syntax) and saved. After restoration to the original state, eclipse felt inclined to compile the Entrypoints properly. I would, of course, love to stand corrected on these issues if there is an easier way to develop in eclipse by now. My own Eclipse version is 3.2 as provided by the Ubuntu 8.04 package repository. regards, Jan Sinschek Àlex Aletà wrote: > Hi all, > > My name's Alex and I've just joined this group. So hello to everybody! > > I have a (hopefully easy-to-solve) problem when using eclipse to edit > jikes. I followed the steps of the web page: > > $ svn co https://jikesrvm.svn.sf.net/svnroot/jikesrvm/rvmroot/trunk jikesrvm > $ cd jikesrvm > $ bin/buildit --eclipse localhost > > (everything looks fine, it says "BUILD SUCCESSFUL" and also "Config : > production [SUCCESS dj mai 14 16:21:33 CEST 2009]") > So then I proceed: > > # From Eclipse, select File-->Import > # Select "Existing Projects Into Workspace" > > Apparently the compilation had worked fine but when I import the > eclipse project I get some errors in a couple of files. All the errors > look very much the same (I copy them below). > > If I compile the jikes rvm without caring about eclipse support, just > with "ant main", everything works fine and I can use "./dist/*/rvm" to > execute java byte code. But I want to edit some parts of the code and > being able to work with eclipse would be great... > > Did anyone have the same problem? > Does anyone have any suggestion about how to solve it? > > Thanks in advance! > Alex > > Error list: > > Severity and Description Path Resource Location > Creation Time Id > The method getField(Class<CounterArrayManager>, String, > Class<double[][]>) is undefined for the type AosEntrypoints JikesRVM > ia32-linux production/rvm/src/org/jikesrvm/adaptive > AosEntrypoints.java line > 36 1242302202859 134453 > The method getField(Class<CounterBasedSampling>, String, > Class<Integer>) is undefined for the type AosEntrypoints JikesRVM > ia32-linux production/rvm/src/org/jikesrvm/adaptive > AosEntrypoints.java line > 42 1242302202859 134456 > The method getField(Class<CounterBasedSampling>, String, > Class<Integer>) is undefined for the type AosEntrypoints JikesRVM > ia32-linux production/rvm/src/org/jikesrvm/adaptive > AosEntrypoints.java line > 45 1242302202859 134458 > The method getField(Class<EdgeListener>, String, Class<Integer>) is > undefined for the type AosEntrypoints JikesRVM ia32-linux > production/rvm/src/org/jikesrvm/adaptive AosEntrypoints.java line > 30 1242302202859 134450 > The method getField(Class<EdgeListener>, String, Class<Integer>) is > undefined for the type AosEntrypoints JikesRVM ia32-linux > production/rvm/src/org/jikesrvm/adaptive AosEntrypoints.java line > 32 1242302202859 134451 > The method getField(Class<InvocationCounts>, String, Class<int[]>) is > undefined for the type AosEntrypoints JikesRVM ia32-linux > production/rvm/src/org/jikesrvm/adaptive AosEntrypoints.java line > 38 1242302202859 134454 > The method getField(Class<MethodListener>, String, Class<Integer>) is > undefined for the type AosEntrypoints JikesRVM ia32-linux > production/rvm/src/org/jikesrvm/adaptive AosEntrypoints.java line > 28 1242302202859 134449 > The method getField(Class<RVMThread>, String, Class<Integer>) is > undefined for the type AosEntrypoints JikesRVM ia32-linux > production/rvm/src/org/jikesrvm/adaptive AosEntrypoints.java line > 43 1242302202859 134457 > The method getField(Class<SpecializedMethodPool>, String, > Class<ArchitectureSpecific.CodeArray[]>) is undefined for the type > AosEntrypoints JikesRVM ia32-linux > production/rvm/src/org/jikesrvm/adaptive AosEntrypoints.java line > 47 1242302202859 134459 > The method getField(Class<YieldCounterListener>, String, > Class<Integer>) is undefined for the type AosEntrypoints JikesRVM > ia32-linux production/rvm/src/org/jikesrvm/adaptive > AosEntrypoints.java line > 34 1242302202859 134452 > The method getMethod(Class<InvocationCounts>, String, String) is > undefined for the type AosEntrypoints JikesRVM ia32-linux > production/rvm/src/org/jikesrvm/adaptive AosEntrypoints.java line > 40 1242302202859 134455 > The method getMethod(Class<ObjectHolder>, String, String) is undefined > for the type AosEntrypoints JikesRVM ia32-linux > production/rvm/src/org/jikesrvm/adaptive AosEntrypoints.java line > 25 1242302202857 134447 > The method getMethod(Class<ObjectHolder>, String, String) is undefined > for the type AosEntrypoints JikesRVM ia32-linux > production/rvm/src/org/jikesrvm/adaptive AosEntrypoints.java line > 26 1242302202857 134448 > The method getField(Class<JNIEnvironment>, String, Class<Address>) is > undefined for the type Entrypoints JikesRVM ia32-linux > production/rvm/src/org/jikesrvm/runtime Entrypoints.java line > 316 1242302197106 134139 > The method getField(Class<RVMThread>, String, Class<Address>) is > undefined for the type Entrypoints JikesRVM ia32-linux > production/rvm/src/org/jikesrvm/runtime Entrypoints.java line > 224 1242302197106 134133 > The method getField(Class<RVMThread>, String, > Class<ArchitectureSpecific.Registers>) is undefined for the type > Entrypoints JikesRVM ia32-linux > production/rvm/src/org/jikesrvm/runtime Entrypoints.java line > 238 1242302197106 134135 > The method getField(Class<RVMThread>, String, Class<Boolean>) is > undefined for the type Entrypoints JikesRVM ia32-linux > production/rvm/src/org/jikesrvm/runtime Entrypoints.java line > 285 1242302197106 134136 > The method getField(Class<RVMThread>, String, Class<byte[]>) is > undefined for the type Entrypoints JikesRVM ia32-linux > production/rvm/src/org/jikesrvm/runtime Entrypoints.java line > 222 1242302197106 134132 > The method getField(Class<RVMThread>, String, Class<Integer>) is > undefined for the type Entrypoints JikesRVM ia32-linux > production/rvm/src/org/jikesrvm/runtime Entrypoints.java line > 195 1242302197106 134130 > The method getField(Class<RVMThread>, String, Class<JNIEnvironment>) > is undefined for the type Entrypoints JikesRVM ia32-linux > production/rvm/src/org/jikesrvm/runtime Entrypoints.java line > 228 1242302197106 134134 > The method getField(Class<SpinLock>, String, Class<RVMThread>) is > undefined for the type Entrypoints JikesRVM ia32-linux > production/rvm/src/org/jikesrvm/runtime Entrypoints.java line > 290 1242302197106 134138 > The method getMethod(Class<RuntimeEntrypoints>, String, String) is > undefined for the type Entrypoints JikesRVM ia32-linux > production/rvm/src/org/jikesrvm/runtime Entrypoints.java line > 95 1242302197106 134129 > The method getMethod(Class<RVMThread>, String, String) is undefined > for the type Entrypoints JikesRVM ia32-linux > production/rvm/src/org/jikesrvm/runtime Entrypoints.java line > 221 1242302197106 134131 > The method getMethod(Class<RVMThread>, String, String) is undefined > for the type Entrypoints JikesRVM ia32-linux > production/rvm/src/org/jikesrvm/runtime Entrypoints.java line > 287 1242302197106 134137 > > ------------------------------------------------------------------------------ > The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your > production scanning environment may not be a perfect world - but thanks to > Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 > Series Scanner you'll get full speed at 300 dpi even with all image > processing features enabled. http://p.sf.net/sfu/kodak-com > _______________________________________________ > Jikesrvm-researchers mailing list > Jikesrvm-researchers@... > https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers > > ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Jikesrvm-researchers mailing list Jikesrvm-researchers@... https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers |
|
|
Re: [rvm-research] problem using eclipse to edit jikesHi, |
| Free embeddable forum powered by Nabble | Forum Help |