Build failed - Could not find file swtgraphics2d.jar

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Eduardo Ramalho
Posts: 43
Joined: Fri Mar 14, 2003 3:14 pm
Location: Porto (Portugal)
Contact:

Build failed - Could not find file swtgraphics2d.jar

Post by Eduardo Ramalho » Tue Mar 03, 2009 6:31 pm

Hi!

I've done a "SVN Checkout" today from SourceForge.
I tried to build it with ant, but had the following error :

Code: Select all

BUILD FAILED
D:\svn\sourceforge.net\jfreechart\ant\build.xml:205: Warning: Could not find file D:\svn\sourceforge.net\jfreechart\lib\
swtgraphics2d.jar to copy.
This is the first time in years I have build JFreeChart. I don't know if something is missing in my build envioroment. Can someone give me a hand with this ?

Thanks,

Edu

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Re: Build failed - Could not find file swtgraphics2d.jar

Post by david.gilbert » Tue Mar 03, 2009 7:37 pm

I'll try to fix this. By the time you get that error, the jfreechart jar file has been built though, if that is all you need. Or you could build the swtgraphics2d.jar file using the build-swt.xml file...or if you are not using SWT, just put a fake swtgraphics2d.jar file in place so the Ant build will continue.

You should also note that the Subversion trunk contains code that will become jfreechart 1.2.0 one day - the 1.0.x code is on a branch 'jfreechart-1.0.x'.
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

Locked