Results 1 to 2 of 2
- 11-03-2009, 10:57 PM #1
Member
- Join Date
- Nov 2009
- Posts
- 1
- Rep Power
- 0
different external libraries for different OS and CVS
Hi,
I have a project that uses swt (jar). I build it both on MacOSX and Windows.
The external library is different for the two machines, so the Java Build Path is different for each. Still I want to keep one common code base, which I control using CVS.
For the two different version of the file .classpath I could use branches in CVS, but I would prefer to prevent it.
Is there a way that the .classpath file can be made to support both library entries and ignore the one missing (and unneeded) on the other OS?
Greetings,
Martin
- 11-04-2009, 02:45 AM #2
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Why cannot create the jar file with both external jar files. But may be in that case you need to select the correct jar file programatically within your code .
Similar Threads
-
Not Copying Libraries!?!
By Atriamax in forum NetBeansReplies: 0Last Post: 10-13-2009, 07:56 AM -
How to load new libraries
By Manfizy in forum NetBeansReplies: 2Last Post: 02-11-2009, 06:55 AM -
Reading Libraries.
By leiferouis in forum New To JavaReplies: 4Last Post: 02-07-2009, 08:34 PM -
Accessing libraries in Eclipse
By JL4 in forum New To JavaReplies: 0Last Post: 12-26-2008, 03:11 PM -
digital sign libraries
By Shuru in forum Advanced JavaReplies: 4Last Post: 11-07-2008, 08:01 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks