|
EclipseSetup
Using Eclipse
Featured Three easy steps:
Manual Eclipse project setup / build path fixes:
To recompile:
To run the server:
To debug the code in dev mode:
|
► Sign in to add a comment
|
Search
|
|
EclipseSetup
Using Eclipse
Featured Three easy steps:
Manual Eclipse project setup / build path fixes:
To recompile:
To run the server:
To debug the code in dev mode:
|
I was able to get this almost 100% setup for a Windows setup. I originally did a build on a linux machine and got it running there. Once it was working on my linux environment I tried it within Eclipse. I copied the baseq2 from my linux machine so I didn't have to try and build those resources and as such didn't need the extra packages setup in Windows. Imported project fine and was able to run the maven build within Eclipse to build out the project.
My problem was on the GWT Compile. Every time I have tried it I always get error output as:
Compiling module com.google.gwt.corp.Runtime
This occurs within the console for quite a few files. I am not 100% comfortable using gwt yet so not sure if this is a quake2-gwt issue or gwt inside Eclipse. If I ignore the error and instead copy the gwtquake folder from within the maven-build/server/target... I am actually able to use the GwtQuakeServer?.launch file to run the server. Unfortunately the main reason why I am trying to get it running in Eclipse is to view the gwt javascript and to debug.
Anyone know how to fix the GWT error?
I have the same errors Shawn. If anyone could help, it'd be much appreciated! I unfortunately don't have access to a linux environment at the moment. =(
Hello,
I followed this 3 steps but my Eclipse IDE complains about many errors. The "ant run" command runs successfully (I can play the game). I believe something is wrong with the project properties in Eclipse.
In most of source files I can see "The declared package does not match the expected package" so I tried to modify the build path in different ways but I never managed to actually solve the problem.
Moving the file or changing the declaration may solve the package declaration problem but would lead to new errors detected in the code that have to be solved one by one. I suppose this is not the way.
Can anybody specify how to configure the build path, libraries, and other properties in Eclipse?
I am using Eclipse Java EE IDE version Helios Release on windows XP.
Thanks.