-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
In your project.properties/build.properties set this:
maven.eclipse.resources.addtoclasspath=true
http://maven.apache.org/reference/plugins/eclipse/properties.html
Works like a charm. Jason
Buorn, Yoway wrote:
| A while back someone asked how to include resources in the Eclipse | classpath. There was no response and I seem to be running into | the same issue. Anyway, the problem is that I am storing my | resources in src/conf and this is specified in the <resources> | stanza. If I execute the java:jar-resources goal, the resources | get copied into the target folder, which is good. However, I want | to be able to run the program inside Eclipse without having to | execute this goal every time. If I manually add src/conf to the | classpath in Eclipse, I'm ready to roll. Would it make sense for | the eclipse goal to do this for me? | | Yoway Buorn Software Engineer Imagery Systems Engineering | | GENERAL DYNAMICS Advanced Information Systems | | "Make me a fire and I'm warm for a night. Set me on fire and I'm | warm for the rest of my life." -- Ancient Didactical Saying | | |
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCZCJZAQ71cZOfvEQRAuMDAJ4zH4b20PtdjqVXDYKqnEJDK11jyQCfbC4r eD63wFPiUeNLNXSjSnP8HxQ= =Mw3S -----END PGP SIGNATURE-----
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]