How to get RPTools source via Eclipse and subversion
Moderators: dorpond, trevor, Azhrei
- trevor
- Codeum Arcanum (RPTools Founder)
- Posts: 11311
- Joined: Mon Jan 09, 2006 4:16 pm
- Location: Austin, Tx
- Contact:
How to get RPTools source via Eclipse and subversion
All of the RPTools source is stored in SourceForge.net's Subversion repository. If anyone is interested in looking at the code, install Eclipse (eclipse.org) or Netbeans or your favorite IDE and set up Subversion in it.
Here is an article that explains how to get Subversion working in Eclipse.
http://www-128.ibm.com/developerworks/o ... Subversion
Create a new project and add (updated 2013-06-03):
https://svn.code.sf.net/p/rptools/svn
Note that there are multiple projects at that URL (such as maptool, dicetool, and others). For each one there is a trunk directory -- that's the one you want. So use the above URL and append /maptool/trunk for just that project. Note that SourceForge now has RSS feeds and "subscribe" links if you want immediate notification of new commits.
Edit: If you're going to submit patches, please import this Eclipse preferences file first and then save the changed files. These preferences will reformat the code so that it conforms to the project standards and that will make it much easier for other team members to read as well as making the patch as concise as possible. (Preferences file is attached to this post.) - Azhrei
Here is an article that explains how to get Subversion working in Eclipse.
http://www-128.ibm.com/developerworks/o ... Subversion
Create a new project and add (updated 2013-06-03):
https://svn.code.sf.net/p/rptools/svn
Note that there are multiple projects at that URL (such as maptool, dicetool, and others). For each one there is a trunk directory -- that's the one you want. So use the above URL and append /maptool/trunk for just that project. Note that SourceForge now has RSS feeds and "subscribe" links if you want immediate notification of new commits.
Edit: If you're going to submit patches, please import this Eclipse preferences file first and then save the changed files. These preferences will reformat the code so that it conforms to the project standards and that will make it much easier for other team members to read as well as making the patch as concise as possible. (Preferences file is attached to this post.) - Azhrei
- Attachments
-
- preferences.xml
- Preferences file to import into Eclipse
- (30.15 KiB) Downloaded 314 times
Last edited by Azhrei on Tue Jun 04, 2013 11:46 am, edited 3 times in total.
Reason: added blurb about preferences; updated SF.net URL
Reason: added blurb about preferences; updated SF.net URL
Dreaming of a 1.3 release
- johnzo
- Cave Troll
- Posts: 28
- Joined: Wed Sep 06, 2006 12:44 am
- Location: beautiful Seattle, WA
- Contact:
Hmmm -- if I do these steps...
1. File - Import,
2. select "Checkout Projects from SVN",
3. click Next,
4. click "Create a New Repository location",
5. click Next
6. enter https://svn.sourceforge.net/svnroot/rptools in the URL text field
I get this exception:
Error validating location "org.tigris.subversion.javahl.ClientException:
svn: PROPFIND request failed on '/svnroot/rptools"
svn: SSLv3
What's up? I managed to check out subclipse, so I'm pretty sure my Eclipse setup's good...
1. File - Import,
2. select "Checkout Projects from SVN",
3. click Next,
4. click "Create a New Repository location",
5. click Next
6. enter https://svn.sourceforge.net/svnroot/rptools in the URL text field
I get this exception:
Error validating location "org.tigris.subversion.javahl.ClientException:
svn: PROPFIND request failed on '/svnroot/rptools"
svn: SSLv3
What's up? I managed to check out subclipse, so I'm pretty sure my Eclipse setup's good...
sort of. when the token gets dragged on, right now it just shows the token with no translucency (the token essentially becomes the cursor until it is dropped on). its a simple little hack it make it so that when the user grabs the token, the grabbed image becomes translucent until it is dropped onto the canvas...
for example:
not very useful, but it's this sort of visual feedback that makes OS X such a pleasure to use.
EDIT: Compiled and am running the latest and greatest, looks like during drag and drop the icon is no longer the token itself, but rather a hand cursor... perhaps I shouldn't even bother trying out the transparency hack PS The new maptool looks great!
for example:
not very useful, but it's this sort of visual feedback that makes OS X such a pleasure to use.
EDIT: Compiled and am running the latest and greatest, looks like during drag and drop the icon is no longer the token itself, but rather a hand cursor... perhaps I shouldn't even bother trying out the transparency hack PS The new maptool looks great!
- trevor
- Codeum Arcanum (RPTools Founder)
- Posts: 11311
- Joined: Mon Jan 09, 2006 4:16 pm
- Location: Austin, Tx
- Contact:
Yeah, it used to use the image as the mouse pointer. But then I saw that it didn't work on OSX. And it didn't give an accurate representation of where an what size the dropped token would be, so I pulled it out so I could make it more accurate. But then I got distracted. Perhaps I could put it back to the old way for the time being. However, that method would not be conducive to transparency unfortunately since it's actually the mouse pointer.
Dreaming of a 1.3 release
- dLANbandit
- Dragon
- Posts: 636
- Joined: Wed Dec 13, 2006 10:43 pm