What do you mean see a technical problem? No, if you want to use something like 'artifact:dependencies' (see http://maven.apache.org/ant-tasks/index.html) and print out some path in say an Emacs expression and read it in, that would be great.
Something like: <artifact:dependencies pathId="pdfbox.cp.build"> <dependency groupId="org.apache.pdfbox" artifactId="pdfbox" version="1.0.0" scope="compile"/> </artifact:dependencies> <pathconvert ... property="pc.cp"... <echo message="(classpath ${pc.cp})"/> On Apr 12, 2010, at 9:54 AM, Rob Sargent wrote: > Does any see a technical problem with getting the class path from the > maven project file (pom.xml)? I have a rather deep stack with > co-dependencies on other local projects. I could paste the output > from > `mvn dependency:build-classpath` but would like some thing a tad more > automagical. > > > > On 04/12/2010 01:25 AM, Tobias Gerdin wrote: >> On Tue, 06 Apr 2010 00:47:35 +0200 >> "Jose A. Ortega Ruiz" <j...@gnu.org> wrote: >> >>> >>> hi, >>> >>> i'm back to java development after some years, and, therefore, i'm >>> dusting off my jde config of old and updating it to the new times. >>> i'm >>> very familiar with emacs, so i'm more or less managing to discover >>> the >>> correct settings for my needs (e.g. how to set jde-*-classpath so >>> that >>> most of jde's functionality works as expected); but i would really >>> appreciate the chance to have a look at other people's >>> customizations >>> and prj.el files. a quick web search hasn't shown up much: any >>> recommendations, pointers or people willing to share settings? (i'm >>> using emacs 23, cedet 1.0pre7 and jde 2.4.0.1: would you recommend >>> the >>> development version instead?) >> >> Here's what I use for one project: >> >> (jde-project-file-version "1.0") >> (jde-set-variables >> '(jde-global-classpath '("./output/debug-default-en/classes" >> "./output/release-default-en/classes" >> "./tools/lib/emulator.jar" >> "./tools/lib/microemu-jsr-75.jar")) >> '(jde-sourcepath '("./src/com/domain/generic" >> "./src/midlet" >> "~/some/other/src/dir")) >> '(jde-run-working-directory "./") >> '(jde-run-executable "./tools/ant")) >> >> I believe it was initally created using `jde-create-new-project', and >> then tweaked. Here I have used project-supplied 'ant' instead of the >> system default one. >> >> I like the prj.el files concept, and especially the automatic >> project switching feature when switching to a buffer part of another >> project. >> >> Personally I use a somewhat hacked copy of the stable JDE 2.3.5.1 in >> the Ubuntu repositories and Emacs 23. Works well. >> >> -Tobias >> >> ------------------------------------------------------------------------------ >> Download Intel® Parallel Studio Eval >> Try the new software tools for yourself. Speed compiling, find bugs >> proactively, and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> _______________________________________________ >> jdee-users mailing list >> jdee-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/jdee-users > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > jdee-users mailing list > jdee-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jdee-users ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ jdee-users mailing list jdee-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jdee-users