Any extra info when you use ant's -verbose cli option? Steve.
-----Original Message----- From: David Leangen [mailto:[EMAIL PROTECTED] Sent: Monday, July 19, 2004 10:03 PM To: Avalon framework users Subject: RE: Magic Eclipse target Cameron, Thanks a lot for this! I don't have jibx or jaxme with my installation (is that normal?) so I tried it without those jars. Didn't work... but then again if it works outside Eclipse without those jars, somehow I don't think they're necessary. I did update my classpath with everything else. This is the error that I'm getting when I try to do an ant build: BUILD FAILED: Z:\apps\avalon\planet\pubmed.jp\splitter\build.xml:7: Following error occured while executing this line Z:\apps\avalon\planet\pubmed.jp\standard.xml:4: Could not create task or type of type: antlib:org.apache.avalon.tools:home. But it seems to me that this jar is already in the classpath... Any ideas? Thanks! > -----Original Message----- > From: Cameron Taggart [mailto:[EMAIL PROTECTED] > Sent: July 20, 2004 13:18 > To: Avalon framework users > Subject: Re: Magic Eclipse target > > > David, I too am in need of an Eclipse plugin for Magic, so I'm looking > at the stuff Steve referenced. I modified a ".classpath" file that was > produced by Maven's Eclipse plugin, so that my current project that I'm > building with Magic will use the jars in Magic's cache. The Magic > Eclipse plugin/task will need to create a file similar to this. > > <?xml version="1.0" encoding="UTF-8"?> > <classpath> > <classpathentry kind="con" > path="org.eclipse.jdt.launching.JRE_CONTAINER"/> > <classpathentry kind="src" path="src/main"/> > <classpathentry kind="output" path="target/classes"/> > <classpathentry kind="src" path="src/test" > output="target/test-classes"/> > > <classpathentry kind="var" > path="MAGIC_CACHE/junit/jars/junit-3.8.1.jar"/> > <classpathentry kind="var" > path="MAGIC_CACHE/log4j/jars/log4j-1.2.8.jar"/> > <classpathentry kind="var" > path="MAGIC_CACHE/jaxme/jars/jaxmejs-0.2.jar"/> > <classpathentry kind="var" > path="MAGIC_CACHE/jibx/jars/jibx-run-beta3c-1.0.jar"/> > <classpathentry kind="var" > path="MAGIC_CACHE/jibx/jars/jibx-bind-beta3c-1.0.jar"/> > <classpathentry kind="var" > path="MAGIC_CACHE/jibx/jars/xpp3-beta3c-1.0.jar"/> > <classpathentry kind="var" path="MAGIC_CACHE/ant/jars/ant-1.6.2.jar"/> > <classpathentry kind="var" > path="MAGIC_CACHE/ant/jars/ant-nodeps-1.6.2.jar"/> > </classpath> > > You can modify your ".classpath" file manually until a plugin is > created. Just refresh your project when your done (no need to close > Eclipse). You will also need to create a classpath variable tnamed > "MAGIC_CACHE" to your cache directory. For example: "C:\Documents and > Settings\Owner\.magic\main". Eclipse > Window > Preferences > Java > > Build Path > Classpath variables > > Cameron --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
