Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
mdarr
Post subject: maven compile of swing project fails  PostPosted: Sep 05, 2008 - 04:22 AM



Joined: Jan 14, 2008
Posts: 5

I am trying to do a maven build on a matisse/Swing project.
The compile fails saying it can't find org.jdesktop.layout which is in swing-layout-1.0.3.jar. This jar is listed as a referenced library.

I am using the JavaEE 5.0 JDK for the compiler in Maven since it seems to need a jdk.

The MyEclipse run's work just fine.
I tried this on a trivial project started as Maven after it failed on one I converted.

Any thoughts on how I can get the Maven compile to look for the referenced libraries?

TIA,
Maurice
 
 View user's profile Send private message  
Reply with quote Back to top
support-nipun
Post subject: RE: maven compile of swing project fails  PostPosted: Sep 05, 2008 - 06:27 PM
Registered Member
Registered Member


Joined: Apr 18, 2007
Posts: 5657

Right click on your Maven project and go to Maven4MyEclipse > Add Dependency and search for the swing layout jar. Add this jar to the Maven Repo and you should be good to go.

_________________
Nipun
MyEclipse Support
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits