electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links
Forum with support of Syndicator RSS
 FAQFAQ   CalendarCalendar   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   LinksLinks
 RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in  Chat RoomChat Room 
 Forum index » Clavia Nord Modular » Nomad - NM1 Open Source Editor
Setting up a nomad debug environmment on windows (vista)
Post new topic   Reply to topic Moderators: Nord Modular Editors
Page 1 of 3 [66 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Goto page: 1, 2, 3 Next
Author Message
blue hell
Site Admin


Joined: Apr 03, 2004
Posts: 24079
Location: The Netherlands, Enschede
Audio files: 278
G2 patch files: 320

PostPosted: Sat Apr 05, 2008 5:26 am    Post subject: Setting up a nomad debug environmment on windows (vista) Reply with quote  Mark this post and the followings unread

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 Laughing ) ?

_________________
Jan
also .. could someone please turn down the thermostat a bit.
Posted Image, might have been reduced in size. Click Image to view fullscreen.

Last edited by blue hell on Sat Apr 05, 2008 11:01 am; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
chresan



Joined: Jul 11, 2006
Posts: 150
Location: Karlsruhe, Germany

PostPosted: Sat Apr 05, 2008 6:15 am    Post subject: Reply with quote  Mark this post and the followings unread

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 Smile )

Christian

_________________
----------------------
http://nmedit.sf.net
Back to top
View user's profile Send private message Visit poster's website
blue hell
Site Admin


Joined: Apr 03, 2004
Posts: 24079
Location: The Netherlands, Enschede
Audio files: 278
G2 patch files: 320

PostPosted: Sat Apr 05, 2008 8:30 am    Post subject: Reply with quote  Mark this post and the followings unread

Thanks Christian, I have progress ... 81 warnings on the libs, so that one compiles I guess Very Happy

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.
Posted Image, might have been reduced in size. Click Image to view fullscreen.
Back to top
View user's profile Send private message Visit poster's website
chresan



Joined: Jul 11, 2006
Posts: 150
Location: Karlsruhe, Germany

PostPosted: Sat Apr 05, 2008 9:34 am    Post subject: Reply with quote  Mark this post and the followings unread

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
Code:
ant configure


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
View user's profile Send private message Visit poster's website
blue hell
Site Admin


Joined: Apr 03, 2004
Posts: 24079
Location: The Netherlands, Enschede
Audio files: 278
G2 patch files: 320

PostPosted: Sat Apr 05, 2008 9:37 am    Post subject: Reply with quote  Mark this post and the followings unread

Edit : oops .. we crossed messages Very Happy

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.
Posted Image, might have been reduced in size. Click Image to view fullscreen.
Back to top
View user's profile Send private message Visit poster's website
chresan



Joined: Jul 11, 2006
Posts: 150
Location: Karlsruhe, Germany

PostPosted: Sat Apr 05, 2008 9:45 am    Post subject: Reply with quote  Mark this post and the followings unread

Blue Hell:

Embarassed 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
View user's profile Send private message Visit poster's website
blue hell
Site Admin


Joined: Apr 03, 2004
Posts: 24079
Location: The Netherlands, Enschede
Audio files: 278
G2 patch files: 320

PostPosted: Sat Apr 05, 2008 9:56 am    Post subject: Reply with quote  Mark this post and the followings unread

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.
Posted Image, might have been reduced in size. Click Image to view fullscreen.
Back to top
View user's profile Send private message Visit poster's website
blue hell
Site Admin


Joined: Apr 03, 2004
Posts: 24079
Location: The Netherlands, Enschede
Audio files: 278
G2 patch files: 320

PostPosted: Sat Apr 05, 2008 9:58 am    Post subject: Reply with quote  Mark this post and the followings unread

Ah we crossed again, will try to get the file now.
_________________
Jan
also .. could someone please turn down the thermostat a bit.
Posted Image, might have been reduced in size. Click Image to view fullscreen.
Back to top
View user's profile Send private message Visit poster's website
blue hell
Site Admin


Joined: Apr 03, 2004
Posts: 24079
Location: The Netherlands, Enschede
Audio files: 278
G2 patch files: 320

PostPosted: Sat Apr 05, 2008 10:10 am    Post subject: Reply with quote  Mark this post and the followings unread

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.
Posted Image, might have been reduced in size. Click Image to view fullscreen.
Back to top
View user's profile Send private message Visit poster's website
chresan



Joined: Jul 11, 2006
Posts: 150
Location: Karlsruhe, Germany

PostPosted: Sat Apr 05, 2008 10:20 am    Post subject: Reply with quote  Mark this post and the followings unread

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
View user's profile Send private message Visit poster's website
blue hell
Site Admin


Joined: Apr 03, 2004
Posts: 24079
Location: The Netherlands, Enschede
Audio files: 278
G2 patch files: 320

PostPosted: Sat Apr 05, 2008 10:56 am    Post subject: Reply with quote  Mark this post and the followings unread

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 Very Happy

edit : split off accomplished.

_________________
Jan
also .. could someone please turn down the thermostat a bit.
Posted Image, might have been reduced in size. Click Image to view fullscreen.
Back to top
View user's profile Send private message Visit poster's website
blue hell
Site Admin


Joined: Apr 03, 2004
Posts: 24079
Location: The Netherlands, Enschede
Audio files: 278
G2 patch files: 320

PostPosted: Sat Apr 05, 2008 11:49 am    Post subject: Reply with quote  Mark this post and the followings unread

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.
Posted Image, might have been reduced in size. Click Image to view fullscreen.
Back to top
View user's profile Send private message Visit poster's website
chresan



Joined: Jul 11, 2006
Posts: 150
Location: Karlsruhe, Germany

PostPosted: Sat Apr 05, 2008 11:56 am    Post subject: Reply with quote  Mark this post and the followings unread

You can ignore all error messages until you completed the steps described in the wiki ( http://nmedit.wiki.sourceforge.net/Eclipse ) . These messages should disappear when you are done.
_________________
----------------------
http://nmedit.sf.net
Back to top
View user's profile Send private message Visit poster's website
blue hell
Site Admin


Joined: Apr 03, 2004
Posts: 24079
Location: The Netherlands, Enschede
Audio files: 278
G2 patch files: 320

PostPosted: Sat Apr 05, 2008 11:58 am    Post subject: Reply with quote  Mark this post and the followings unread

Right .. I thought I was done ... will double check ...
_________________
Jan
also .. could someone please turn down the thermostat a bit.
Posted Image, might have been reduced in size. Click Image to view fullscreen.
Back to top
View user's profile Send private message Visit poster's website
chresan



Joined: Jul 11, 2006
Posts: 150
Location: Karlsruhe, Germany

PostPosted: Sat Apr 05, 2008 12:00 pm    Post subject: Reply with quote  Mark this post and the followings unread

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
View user's profile Send private message Visit poster's website
blue hell
Site Admin


Joined: Apr 03, 2004
Posts: 24079
Location: The Netherlands, Enschede
Audio files: 278
G2 patch files: 320

PostPosted: Sat Apr 05, 2008 12:04 pm    Post subject: Reply with quote  Mark this post and the followings unread

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.
Posted Image, might have been reduced in size. Click Image to view fullscreen.
Back to top
View user's profile Send private message Visit poster's website
blue hell
Site Admin


Joined: Apr 03, 2004
Posts: 24079
Location: The Netherlands, Enschede
Audio files: 278
G2 patch files: 320

PostPosted: Sat Apr 05, 2008 12:05 pm    Post subject: Reply with quote  Mark this post and the followings unread

Warning Laughing not worning
_________________
Jan
also .. could someone please turn down the thermostat a bit.
Posted Image, might have been reduced in size. Click Image to view fullscreen.
Back to top
View user's profile Send private message Visit poster's website
blue hell
Site Admin


Joined: Apr 03, 2004
Posts: 24079
Location: The Netherlands, Enschede
Audio files: 278
G2 patch files: 320

PostPosted: Sat Apr 05, 2008 12:09 pm    Post subject: Reply with quote  Mark this post and the followings unread

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.
Posted Image, might have been reduced in size. Click Image to view fullscreen.
Back to top
View user's profile Send private message Visit poster's website
chresan



Joined: Jul 11, 2006
Posts: 150
Location: Karlsruhe, Germany

PostPosted: Sat Apr 05, 2008 12:13 pm    Post subject: Reply with quote  Mark this post and the followings unread

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
View user's profile Send private message Visit poster's website
blue hell
Site Admin


Joined: Apr 03, 2004
Posts: 24079
Location: The Netherlands, Enschede
Audio files: 278
G2 patch files: 320

PostPosted: Sat Apr 05, 2008 12:13 pm    Post subject: Reply with quote  Mark this post and the followings unread

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.
Posted Image, might have been reduced in size. Click Image to view fullscreen.
Back to top
View user's profile Send private message Visit poster's website
chresan



Joined: Jul 11, 2006
Posts: 150
Location: Karlsruhe, Germany

PostPosted: Sat Apr 05, 2008 12:16 pm    Post subject: Reply with quote  Mark this post and the followings unread

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
View user's profile Send private message Visit poster's website
blue hell
Site Admin


Joined: Apr 03, 2004
Posts: 24079
Location: The Netherlands, Enschede
Audio files: 278
G2 patch files: 320

PostPosted: Sat Apr 05, 2008 12:26 pm    Post subject: Reply with quote  Mark this post and the followings unread

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.
Posted Image, might have been reduced in size. Click Image to view fullscreen.
Back to top
View user's profile Send private message Visit poster's website
chresan



Joined: Jul 11, 2006
Posts: 150
Location: Karlsruhe, Germany

PostPosted: Sat Apr 05, 2008 12:30 pm    Post subject: Reply with quote  Mark this post and the followings unread

Yes,No Smile

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
View user's profile Send private message Visit poster's website
blue hell
Site Admin


Joined: Apr 03, 2004
Posts: 24079
Location: The Netherlands, Enschede
Audio files: 278
G2 patch files: 320

PostPosted: Sat Apr 05, 2008 12:37 pm    Post subject: Reply with quote  Mark this post and the followings unread

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.
Posted Image, might have been reduced in size. Click Image to view fullscreen.
Back to top
View user's profile Send private message Visit poster's website
blue hell
Site Admin


Joined: Apr 03, 2004
Posts: 24079
Location: The Netherlands, Enschede
Audio files: 278
G2 patch files: 320

PostPosted: Sat Apr 05, 2008 12:39 pm    Post subject: Reply with quote  Mark this post and the followings unread

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.
Posted Image, might have been reduced in size. Click Image to view fullscreen.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic Moderators: Nord Modular Editors
Page 1 of 3 [66 Posts]
View unread posts
View new posts in the last week
Goto page: 1, 2, 3 Next
Mark the topic unread :: View previous topic :: View next topic
 Forum index » Clavia Nord Modular » Nomad - NM1 Open Source Editor
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Forum with support of Syndicator RSS
Powered by phpBB © 2001, 2005 phpBB Group
Copyright © 2003 through 2009 by electro-music.com - Conditions Of Use