Building the splitter with Eclipse?

Can anyone give me tips on building the splitter (the crosby integration branch) with Eclipse? Whenever I try I end up with a jar file that can't find any of the dependencies on the classpath, even though I specify all of the external jars with the '-classpath' argument. I had similar problems building from the command line with ant until I modified the build.xml to copy all of the class files from the external jars into the splitter.jar file. I'm sure this is probably just a Java newbie thing... I only really deal with Java for OSM so it's taking me a little while to get accustomed to the tools. I'd like to use Eclipse as an editor because of the inline help that it can give you, as opposed to Emacs which is my usual editor. -- Jeff Ollie

On Thu, Feb 17, 2011 at 1:59 PM, Jeffrey Ollie <jeff@ocjtech.us> wrote:
I'm sure this is probably just a Java newbie thing... I only really deal with Java for OSM so it's taking me a little while to get accustomed to the tools. I'd like to use Eclipse as an editor because of the inline help that it can give you, as opposed to Emacs which is my usual editor.
Grr, yes this is just a Java newbie thing... It seems that if you specify a -jar option on the command line, Java will ignore any -classpath option on the command line in favor of using a classpath specified inside the MANIFEST.MF. I switched to adding splitter.jar to the classpath and specifying the main class instead of using the -jar option. -- Jeff Ollie
participants (1)
-
Jeffrey Ollie