How to get RPTools source via Eclipse and subversion
Moderators: dorpond, trevor, Azhrei
- dLANbandit
- Dragon
- Posts: 636
- Joined: Wed Dec 13, 2006 10:43 pm
dang eclipse making me feel stupid.
Trevor helped me out a lot last night, even gave me a trivial problem to solve, ironically one I reported.
I was surprised at how much eclipse is like .NET. Back in my college days I loved Java because of the online resources. But I've been using other languages for years now, and the naming conventions in Java had me searching a while for stuff last night. I refused to use the search/find function to force myself to figure out the naming conventions. Anyway things are clearer now. Hopefully I will be of some use in the near future.
Trevor helped me out a lot last night, even gave me a trivial problem to solve, ironically one I reported.
I was surprised at how much eclipse is like .NET. Back in my college days I loved Java because of the online resources. But I've been using other languages for years now, and the naming conventions in Java had me searching a while for stuff last night. I refused to use the search/find function to force myself to figure out the naming conventions. Anyway things are clearer now. Hopefully I will be of some use in the near future.
- dLANbandit
- Dragon
- Posts: 636
- Joined: Wed Dec 13, 2006 10:43 pm
- dLANbandit
- Dragon
- Posts: 636
- Joined: Wed Dec 13, 2006 10:43 pm
- dLANbandit
- Dragon
- Posts: 636
- Joined: Wed Dec 13, 2006 10:43 pm
- trevor
- Codeum Arcanum (RPTools Founder)
- Posts: 11311
- Joined: Mon Jan 09, 2006 4:16 pm
- Location: Austin, Tx
- Contact:
Nope, was just giving an alternate End Game scenario if the patch didn't work outdLANbandit wrote:oh dear did I do it wrong?
When I apply it and check it into the repository, you will need to to a right click on maptool->team->synchronize with repository. The view takes a little practice, but the general idea is right click on all non conflicting changes (the ones without a red double headed arrow) and "update". Then you'll be good to godLANbandit wrote:Once you have created a patch and sent it for an issue. What should I do? Should I reload the old version from the repository so it isn't included in any further bugs/features I work on?
Dreaming of a 1.3 release
- dLANbandit
- Dragon
- Posts: 636
- Joined: Wed Dec 13, 2006 10:43 pm
- galneweinhaw
- Dragon
- Posts: 481
- Joined: Tue Jan 02, 2007 3:03 pm
T,
You may recall the other day trying to hep me get my laptop setup with the mt src with svn, eclipse etc etc...
Well, my flight out of DC was delayed and now I'm stuck in Montreal having missed my connector, with nothing better to do than play on my laptop...and nothing better to do on my laptop than play with mt code =D
Trying to get the errors sorted out, here is something that you might be able to help with...
Many files are trying to import files that don't exist (at least not in my download of the src (about 10 min ago))
example:
In AddTokenStateMacro.java I see:
import net.rptools.maptool.model.drawing.AbstractTemplate.Quadrant;
but this file doesn't exist.
there is a
net.rptools.maptool.model.drawing package with AbstractTemplate.java
Another is in AbstractDrawingTool.java:
import net.rptools.maptool.model.Zone.Layer;
There is a
import net.rptools.maptool.model.Zone.java but no Zone pkg with a Layer file...
Hope you can make some sense of this!
You may recall the other day trying to hep me get my laptop setup with the mt src with svn, eclipse etc etc...
Well, my flight out of DC was delayed and now I'm stuck in Montreal having missed my connector, with nothing better to do than play on my laptop...and nothing better to do on my laptop than play with mt code =D
Trying to get the errors sorted out, here is something that you might be able to help with...
Many files are trying to import files that don't exist (at least not in my download of the src (about 10 min ago))
example:
In AddTokenStateMacro.java I see:
import net.rptools.maptool.model.drawing.AbstractTemplate.Quadrant;
but this file doesn't exist.
there is a
net.rptools.maptool.model.drawing package with AbstractTemplate.java
Another is in AbstractDrawingTool.java:
import net.rptools.maptool.model.Zone.Layer;
There is a
import net.rptools.maptool.model.Zone.java but no Zone pkg with a Layer file...
Hope you can make some sense of this!
- galneweinhaw
- Dragon
- Posts: 481
- Joined: Tue Jan 02, 2007 3:03 pm
- galneweinhaw
- Dragon
- Posts: 481
- Joined: Tue Jan 02, 2007 3:03 pm
I have Java 6 installed, and I don't have any problems. I know map tool runs with Java 6, I run it all the time. I don't think I've tried compiling it though. For future reference, you can just go to Window->Preferences ---> Java -> Installed JREs and choose the default version of java you want to use.