[Mulgara-dev] More fun with Eclipse

David Moll DMoll at viewpointusa.com
Tue Oct 10 03:21:35 UTC 2006


Having successfully set Mulgara up in Eclipse on two machines, I
endeavored to get the project working on my home machine.  Things were
going well, I fixed my path and environment variable problems, grabbed
the new 1.5 jdk (since my most recent version was 1.4.2), and compiled
using:
 
build clean ideSupport
 
This worked great.  Importing the project into Eclipse - what I have
been doing is importing an existing project into the workspace, as
connecting to Subversion in Eclipse prompts for a username/password
which I don't have.  Since I'm not making any changes, not a big deal.
So -
 
Unzip source code to a folder on disk.
Import existing project into workspace from folder on disk
Eclipse imports and attempts to build Mulgara
 
Eclipse is throwing the following errors at me.  
 
Severity and Description Path Resource Location Creation Time Id
Project Mulgara-1.2 is missing required library: 'lib/ant-1.6.1.jar'
Mulgara-1.2 Build path 1160449403641 299
Project Mulgara-1.2 is missing required library:
'lib/ant-apache-bsf-1.6.1.jar'  Mulgara-1.2 Build path 1160449403641 298
Project Mulgara-1.2 is missing required library:
'lib/ant-junit-1.6.1.jar'  Mulgara-1.2 Build path 1160449403641 297
Project Mulgara-1.2 is missing required library:
'lib/ant-launcher-1.6.1.jar'  Mulgara-1.2 Build path 1160449403641 296
Project Mulgara-1.2 is missing required library:
'lib/ant-nodeps-1.6.1.jar'  Mulgara-1.2 Build path 1160449403641 295
Project Mulgara-1.2 is missing required library:
'lib/ant-trax-1.6.1.jar'  Mulgara-1.2 Build path 1160449403641 294
Project Mulgara-1.2 is missing required library: 'lib/jrdf-0.3.4.jar'
Mulgara-1.2 Build path 1160449403631 293
Project Mulgara-1.2 is missing required library: 'lib/lucene-1.3.jar'
Mulgara-1.2 Build path 1160449403631 292
Project Mulgara-1.2 is missing required library:
'lib/rdf-api-2001-01-19.jar'  Mulgara-1.2 Build path 1160449403631 291
Project Mulgara-1.2 is missing required library:
'lib/simple-jndi-0.9.jar'  Mulgara-1.2 Build path 1160449403631 290
Project Mulgara-1.2 is missing required library:
'lib/SimpleWebServerFull.jar'  Mulgara-1.2 Build path 1160449403631 289

I tried finding where the build path was defined in the XML files, but I
was unable to pin it down.  Currently /lib/ contains
 
ant-1.6.5.jar
ant-apache-bsf-1.6.5.jar
ant-junit-1.6.5.jar
ant-launcher-1.6.5.jar
ant-nodeps-1.6.5.jar
ant-trax-1.6.5.jar
jrdf-0.3.4.3.jar
lucene-2.0.0.jar
xalan-2.7.0.jar
 
Where are the build paths being defined, and how easy is it to change
them?
 
As a side note, don't import a project into the workspace from a folder
that is in Eclipse's workspace folder - bad things happen.  Eclipse
started recursively importing the folder into itself, so I ended up with
a directory structure that looked like:
 
c:\eclipse\workspace\mulgara-1.0.0\Mulgara-1.2\Mulgara-1.2\Mulgara-1.2\M
ulgara-1.2\Mulgara-1.2... ad infinitum. 
 
The best part was that the file name was too long for Windows to delete.
Luckily I was able to share the directory, connect to the share from my
Powerbook and delete the folder remotely.  OSX saves the day again.
 
As an aside, the sequence diagrams are excellent.  I'm still working
forward, trying to come up with good question to throw out.
 
~Dave
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mulgara.org/pipermail/mulgara-dev/attachments/20061009/545ccfe6/attachment.htm>


More information about the Mulgara-dev mailing list