Author |
Message |
blue hell
Site Admin
Joined: Apr 03, 2004 Posts: 24079 Location: The Netherlands, Enschede
Audio files: 278
G2 patch files: 320
|
Posted: Sat Apr 05, 2008 5:26 am Post subject:
Setting up a nomad debug environmment on windows (vista) |
|
|
Edit: I split this from from : http://electro-music.com/forum/post-178531.html
Christian, I downloaded Eclipse to try to have a look at it myself, and I tried to follow the directions you gave to set things up right in Eclipse but I'm doing some basic thing wrong I guess as the settings screens look nowhere near you describe them.
I tried to to use the eclipse builtin CSV to get the Nomad project into my workspace (and I do have some code, maybe not all), but it seems like I somehow have to tell Eclipse that it's a Java project, and I can't find an option to do so ... got a hint for me (except from RTFM ) ? _________________ Jan
also .. could someone please turn down the thermostat a bit.
Last edited by blue hell on Sat Apr 05, 2008 11:01 am; edited 1 time in total |
|
Back to top
|
|
|
chresan
Joined: Jul 11, 2006 Posts: 150 Location: Karlsruhe, Germany
|
Posted: Sat Apr 05, 2008 6:15 am Post subject:
|
|
|
Blue Hell:
When using the eclipse CVS checkout function you should keep klicking on the "Next" button until the dialog shows an option like "Check out as a project configured using the New Project Wizard". Later the wizard should provide an option to make the project a "Java Project".
Before checking out take a look at http://nmedit.wiki.sourceforge.net/Eclipse (not RTFM but you actually have to read this page because otherwise you won't be able to run Nomad in eclipse )
Christian _________________ ----------------------
http://nmedit.sf.net |
|
Back to top
|
|
|
blue hell
Site Admin
Joined: Apr 03, 2004 Posts: 24079 Location: The Netherlands, Enschede
Audio files: 278
G2 patch files: 320
|
Posted: Sat Apr 05, 2008 8:30 am Post subject:
|
|
|
Thanks Christian, I have progress ... 81 warnings on the libs, so that one compiles I guess
Next hurdle is under "Setting up Nomad":
Code: | run the ant script
cd nomad
ant configure
|
Do I have to open a dos window? in what folder? Should I download ant somewhere first? and where? _________________ Jan
also .. could someone please turn down the thermostat a bit.
|
|
Back to top
|
|
|
chresan
Joined: Jul 11, 2006 Posts: 150 Location: Karlsruhe, Germany
|
Posted: Sat Apr 05, 2008 9:34 am Post subject:
|
|
|
Blue Hell:
You can download Ant from http://ant.apache.org/bindownload.cgi
Afterwards you have to set the ANT_HOME environment variable, for detailed instructions look here: http://ant.apache.org/manual/install.html
After ant is installed you have to open the nomad directory (ECLIPSE_WORKSPACE\nomad\) in a console window (or dos window) and then run the command
The command builds all libraries (jar files) in the libs/ directory and copy them into the plugin directories of nomad (nomad/nomad-source/plugins/*). Each time you modified one of these libraries you have to run this command so the jar files in the plugins directory are updated. (I tell you later how to avoid this) _________________ ----------------------
http://nmedit.sf.net |
|
Back to top
|
|
|
blue hell
Site Admin
Joined: Apr 03, 2004 Posts: 24079 Location: The Netherlands, Enschede
Audio files: 278
G2 patch files: 320
|
Posted: Sat Apr 05, 2008 9:37 am Post subject:
|
|
|
Edit : oops .. we crossed messages
What I did was to go to run/eternal tools/open eternal tools dialog, I then made a new ant build I called nomad and I set the build file to nomad/build.xml and the working directory to /nomad, the I set an argumet "configure" and after I downloaded the jdk from sun I get a failed builld ... unable to find a javac compiler ... I added the jdk bin folder to my PATH environment, and it also in CLASS_PATH ... there is a remark that maybe JAVA_HOME does not point to the JDK, and that it is currently set to jre1.6.0 ...
ok I changed the settings and added jdk1.6.0_5 to the installed JREs which solves the problem above, I picked "configure" as the build target and then I run into :
Code: | nomad-config\_INSTALLER_ant.xml: 39 ...
nomad-config\patchmodifier-plugin_ant.xml: 37 ...
java.io.FileNotFoundException: libs\patchmodifier\build.xml (The system cannot find the file specified) |
_________________ Jan
also .. could someone please turn down the thermostat a bit.
|
|
Back to top
|
|
|
chresan
Joined: Jul 11, 2006 Posts: 150 Location: Karlsruhe, Germany
|
Posted: Sat Apr 05, 2008 9:45 am Post subject:
|
|
|
Blue Hell:
the file is missing in CVS (I wonder why nobody complained yet). Ok, checkout libs/patchmodifier/build.xml and try again.
To checkout the file do a rightclick on the patchmodifier directory in your eclipse packet explorer window. In the menu select Team->Synchronize with Repo... (or just Team->Update) _________________ ----------------------
http://nmedit.sf.net |
|
Back to top
|
|
|
blue hell
Site Admin
Joined: Apr 03, 2004 Posts: 24079 Location: The Netherlands, Enschede
Audio files: 278
G2 patch files: 320
|
Posted: Sat Apr 05, 2008 9:56 am Post subject:
|
|
|
I tried the manual ant instal, and I get the same error with that ... and the file indeed is not present. _________________ Jan
also .. could someone please turn down the thermostat a bit.
|
|
Back to top
|
|
|
blue hell
Site Admin
Joined: Apr 03, 2004 Posts: 24079 Location: The Netherlands, Enschede
Audio files: 278
G2 patch files: 320
|
Posted: Sat Apr 05, 2008 9:58 am Post subject:
|
|
|
Ah we crossed again, will try to get the file now. _________________ Jan
also .. could someone please turn down the thermostat a bit.
|
|
Back to top
|
|
|
blue hell
Site Admin
Joined: Apr 03, 2004 Posts: 24079 Location: The Netherlands, Enschede
Audio files: 278
G2 patch files: 320
|
Posted: Sat Apr 05, 2008 10:10 am Post subject:
|
|
|
Thanks! that worked, onto the next thing, but I have to do some shopping first now. _________________ Jan
also .. could someone please turn down the thermostat a bit.
|
|
Back to top
|
|
|
chresan
Joined: Jul 11, 2006 Posts: 150 Location: Karlsruhe, Germany
|
Posted: Sat Apr 05, 2008 10:20 am Post subject:
|
|
|
Blue Hell wrote: | Thanks! that worked, onto the next thing, but I have to do some shopping first now. |
Great. I am online tonight if you have more questions. And perhaps we continue the discussion via email ? - I let you decide.
christian _________________ ----------------------
http://nmedit.sf.net |
|
Back to top
|
|
|
blue hell
Site Admin
Joined: Apr 03, 2004 Posts: 24079 Location: The Netherlands, Enschede
Audio files: 278
G2 patch files: 320
|
Posted: Sat Apr 05, 2008 10:56 am Post subject:
|
|
|
It might be useful for others a well .. I'll split off some stuff from this thread, it seems misplaced under this thread title.
Now I need some food first
edit : split off accomplished. _________________ Jan
also .. could someone please turn down the thermostat a bit.
|
|
Back to top
|
|
|
blue hell
Site Admin
Joined: Apr 03, 2004 Posts: 24079 Location: The Netherlands, Enschede
Audio files: 278
G2 patch files: 320
|
Posted: Sat Apr 05, 2008 11:49 am Post subject:
|
|
|
Hi Christian,
I got a couple of things "missing" in the "nomad" project :
- required Java project "nmlibs"
- required library "nomad-source/libs/commons-logging.jar"
- required library "nomad-source/plugins/co.jgoodies.forms/lib/forms-1.0.7.jar"
- required library "nomad-source/plugins/co.jgoodies.loos/lib/looks-2.1.3.jarr"
and I should solve this before the project will be built, or so it says. _________________ Jan
also .. could someone please turn down the thermostat a bit.
|
|
Back to top
|
|
|
chresan
Joined: Jul 11, 2006 Posts: 150 Location: Karlsruhe, Germany
|
|
Back to top
|
|
|
blue hell
Site Admin
Joined: Apr 03, 2004 Posts: 24079 Location: The Netherlands, Enschede
Audio files: 278
G2 patch files: 320
|
Posted: Sat Apr 05, 2008 11:58 am Post subject:
|
|
|
Right .. I thought I was done ... will double check ... _________________ Jan
also .. could someone please turn down the thermostat a bit.
|
|
Back to top
|
|
|
chresan
Joined: Jul 11, 2006 Posts: 150 Location: Karlsruhe, Germany
|
Posted: Sat Apr 05, 2008 12:00 pm Post subject:
|
|
|
Below the "ant configure" step are the ones you missed (-> "Select the Libraries tab and add following .jar files:") _________________ ----------------------
http://nmedit.sf.net |
|
Back to top
|
|
|
blue hell
Site Admin
Joined: Apr 03, 2004 Posts: 24079 Location: The Netherlands, Enschede
Audio files: 278
G2 patch files: 320
|
Posted: Sat Apr 05, 2008 12:04 pm Post subject:
|
|
|
I've got more source folders in nomad/Java Build Path/Libraries than you specified in the web page and I've got a worning there that four build path entries are missing.
I seem to have duplicates of all the jar files ... but some are different like I have forms 1.0.7 and forms 1.1.0 ... it seems like there are some old versions present or something. _________________ Jan
also .. could someone please turn down the thermostat a bit.
|
|
Back to top
|
|
|
blue hell
Site Admin
Joined: Apr 03, 2004 Posts: 24079 Location: The Netherlands, Enschede
Audio files: 278
G2 patch files: 320
|
Posted: Sat Apr 05, 2008 12:05 pm Post subject:
|
|
|
Warning not worning _________________ Jan
also .. could someone please turn down the thermostat a bit.
|
|
Back to top
|
|
|
blue hell
Site Admin
Joined: Apr 03, 2004 Posts: 24079 Location: The Netherlands, Enschede
Audio files: 278
G2 patch files: 320
|
Posted: Sat Apr 05, 2008 12:09 pm Post subject:
|
|
|
And I might have been a bit too creative in adding those files ...
and I've got waldorf stuff in the sources, something you did not sepcify ... _________________ Jan
also .. could someone please turn down the thermostat a bit.
|
|
Back to top
|
|
|
chresan
Joined: Jul 11, 2006 Posts: 150 Location: Karlsruhe, Germany
|
Posted: Sat Apr 05, 2008 12:13 pm Post subject:
|
|
|
The CVS repo contains outdated project settings for eclipse.
Because of this you get for example warnings that forms-*** and looks-*** is missing. You have to remove these references and add the jar-file references to the forms/looks files you have in the directory:
# nomad/nomad-source/plugins/com.jgoodies.forms/lib/forms-*.jar
# nomad/nomad-source/plugins/com.jgoodies.looks/lib/looks-*.jar
If you have other source folders as the ones mentioned in the wiki you have to remove them. To do this go to the project properties dialog where all source folders are listed and remove these entries (for example waldorf/src) _________________ ----------------------
http://nmedit.sf.net |
|
Back to top
|
|
|
blue hell
Site Admin
Joined: Apr 03, 2004 Posts: 24079 Location: The Netherlands, Enschede
Audio files: 278
G2 patch files: 320
|
Posted: Sat Apr 05, 2008 12:13 pm Post subject:
|
|
|
Ok I removed the waldorf stuff from the source tab, and I removed everything from the library tab and the added what you specified, I can not find commons-logging.jar though. _________________ Jan
also .. could someone please turn down the thermostat a bit.
|
|
Back to top
|
|
|
chresan
Joined: Jul 11, 2006 Posts: 150 Location: Karlsruhe, Germany
|
Posted: Sat Apr 05, 2008 12:16 pm Post subject:
|
|
|
In Nomad->Project Properties->Java Build Path->Libraries should be the references
# nomad/nomad-source/libs/commons-logging.jar
# nomad/nomad-source/libs/jpf.jar
# nomad/nomad-source/libs/jpf-boot.jar
Perhaps a path is wrong. Also check if the files are really in these locations. _________________ ----------------------
http://nmedit.sf.net |
|
Back to top
|
|
|
blue hell
Site Admin
Joined: Apr 03, 2004 Posts: 24079 Location: The Netherlands, Enschede
Audio files: 278
G2 patch files: 320
|
Posted: Sat Apr 05, 2008 12:26 pm Post subject:
|
|
|
I have a commons-logging.jar in libs/java-dependecies/commons-loggings is that correct? _________________ Jan
also .. could someone please turn down the thermostat a bit.
|
|
Back to top
|
|
|
chresan
Joined: Jul 11, 2006 Posts: 150 Location: Karlsruhe, Germany
|
Posted: Sat Apr 05, 2008 12:30 pm Post subject:
|
|
|
Yes,No
After running "ant configure" the file should be copied to nomad/nomad-source/libs/
Try running the command again.
Afterwards go to the menu Project->Clean and select both projects, "libs" and "nomad". _________________ ----------------------
http://nmedit.sf.net |
|
Back to top
|
|
|
blue hell
Site Admin
Joined: Apr 03, 2004 Posts: 24079 Location: The Netherlands, Enschede
Audio files: 278
G2 patch files: 320
|
Posted: Sat Apr 05, 2008 12:37 pm Post subject:
|
|
|
Ok, but I can not add it as a jar, but only as an eternal jar, is that ok? _________________ Jan
also .. could someone please turn down the thermostat a bit.
|
|
Back to top
|
|
|
blue hell
Site Admin
Joined: Apr 03, 2004 Posts: 24079 Location: The Netherlands, Enschede
Audio files: 278
G2 patch files: 320
|
Posted: Sat Apr 05, 2008 12:39 pm Post subject:
|
|
|
And another problem is that in making the run config I can't add nomad-splash.jar _________________ Jan
also .. could someone please turn down the thermostat a bit.
|
|
Back to top
|
|
|
|