Re: Adding my own Jelly Library to Maven

2004-12-07 Thread Brett Porter
Maven's CVS HEAD has been fixed to solve that problem.
Andreas Schaefer wrote:
Hi
The plugin-resources property was not set with Jelly Beta 4 (just
replacing the Maven 1.0 Jelly library with the Jelly Beta 4).
After I put the old library into place it worked fine again on W2k, JDK
1.4 and Maven 1.0.
-Andy
-Original Message-
From: Dion Gillard [mailto:[EMAIL PROTECTED]
Sent: Mon 12/6/2004 4:47 PM
To: Maven Developers List
Subject: Re: Adding my own Jelly Library to Maven
On Fri, 3 Dec 2004 17:20:04 -0800, Andreas Schaefer
<[EMAIL PROTECTED]> wrote:
 

Hi Brett
Thanks for you support, it worked (ufff). So finally I could introduce
   

 

Jelly's getStatic() method into Maven 1.0/1.1 without breaking it (it 
seemed that Jelly's current beta version does break the JavaDoc 
plugin).
   

Could you let us know where?
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Adding my own Jelly Library to Maven

2004-12-07 Thread Andreas Schaefer
Hi

The plugin-resources property was not set with Jelly Beta 4 (just
replacing the Maven 1.0 Jelly library with the Jelly Beta 4).

After I put the old library into place it worked fine again on W2k, JDK
1.4 and Maven 1.0.

-Andy


-Original Message-
From: Dion Gillard [mailto:[EMAIL PROTECTED]
Sent: Mon 12/6/2004 4:47 PM
To: Maven Developers List
Subject: Re: Adding my own Jelly Library to Maven
 
On Fri, 3 Dec 2004 17:20:04 -0800, Andreas Schaefer
<[EMAIL PROTECTED]> wrote:
> Hi Brett
> 
> Thanks for you support, it worked (ufff). So finally I could introduce

> Jelly's getStatic() method into Maven 1.0/1.1 without breaking it (it 
> seemed that Jelly's current beta version does break the JavaDoc 
> plugin).

Could you let us know where?
-- 
http://www.multitask.com.au/people/dion/

-
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]



Re: Adding my own Jelly Library to Maven

2004-12-06 Thread Dion Gillard
On Fri, 3 Dec 2004 17:20:04 -0800, Andreas Schaefer
<[EMAIL PROTECTED]> wrote:
> Hi Brett
> 
> Thanks for you support, it worked (ufff). So finally I could introduce
> Jelly's getStatic() method into Maven 1.0/1.1 without breaking it (it
> seemed that Jelly's current beta version does break the JavaDoc plugin).

Could you let us know where?
-- 
http://www.multitask.com.au/people/dion/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Adding my own Jelly Library to Maven

2004-12-03 Thread Andreas Schaefer
Hi Brett

Thanks for you support, it worked (ufff). So finally I could introduce
Jelly's getStatic() method into Maven 1.0/1.1 without breaking it (it
seemed that Jelly's current beta version does break the JavaDoc plugin).

Thanx

Andreas Schaefer
Senior Software Engineer
 
http://www.lajug.org/events.html#meeting";>Upcoming Maven
Presentation @ LA-JUG 12/7/04

-Original Message-
From: Brett Porter [mailto:[EMAIL PROTECTED] 
Sent: Friday, December 03, 2004 3:13 PM
To: Maven Developers List
Subject: Re: Adding my own Jelly Library to Maven

You need something like this instead:

  xmlns:patch="jelly:jelly.patch.PatchTagLibrary"

- Brett

Andreas Schaefer wrote:

>Hi Geeks
> 
>I tried for quit a long time to add my very own jelly library into
Maven
>and still fail. Unfortunately I could not find the answer in Jelly or
>Maven so I was wondering if someone could give me a pointer where to
>look further.
> 
>My PatchTagLibrary class looks like this:
> 
>---
>package jelly.patch;
>import org.apache.commons.jelly.TagLibrary;
>public class PatchTagLibrary extends TagLibrary {
>public PatchTagLibrary() {
>registerTag("patch", jelly.patch.PatchTag.class);
>registerTag("getStatic", jelly.patch.GetStaticTag.class);
>}
>}
>---
> 
>---
> xmlns:patch="jelly:patch"
> xmlns:j="jelly:core">
> 
>
>
>className="com.stc.test.connector.common.Constants"
>field="FROM_SERVER_DIRECTORY"/> ...
>---
> 
>But I get this exception:
> 
>Underlying exception: java.lang.ClassNotFoundException: patch
>java.lang.ClassNotFoundException: patch
>at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
>at java.security.AccessController.doPrivileged(Native Method)
>at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
>at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
>at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
>at
>org.apache.commons.jelly.parser.XMLParser.createTag(XMLParser.java:10
> 
>I would appreciate any help, thanx.
> 
>Andreas Schaefer
>Senior Software Engineer
> 
>http://www.lajug.org/events.html#meeting";>Upcoming Maven
>Presentation @ LA-JUG 12/7/04
> 
> 
> 
>
>  
>



-
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]



Re: Adding my own Jelly Library to Maven

2004-12-03 Thread Brett Porter
You need something like this instead:
 xmlns:patch="jelly:jelly.patch.PatchTagLibrary"
- Brett
Andreas Schaefer wrote:
Hi Geeks
I tried for quit a long time to add my very own jelly library into Maven
and still fail. Unfortunately I could not find the answer in Jelly or
Maven so I was wondering if someone could give me a pointer where to
look further.
My PatchTagLibrary class looks like this:
---
package jelly.patch;
import org.apache.commons.jelly.TagLibrary;
public class PatchTagLibrary extends TagLibrary {
   public PatchTagLibrary() {
   registerTag("patch", jelly.patch.PatchTag.class);
   registerTag("getStatic", jelly.patch.GetStaticTag.class);
   }
}
---
---

   
   
   
className="com.stc.test.connector.common.Constants"
field="FROM_SERVER_DIRECTORY"/> ...
---

But I get this exception:
Underlying exception: java.lang.ClassNotFoundException: patch
java.lang.ClassNotFoundException: patch
   at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
   at
org.apache.commons.jelly.parser.XMLParser.createTag(XMLParser.java:10
I would appreciate any help, thanx.
Andreas Schaefer
Senior Software Engineer
http://www.lajug.org/events.html#meeting";>Upcoming Maven
Presentation @ LA-JUG 12/7/04

 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Adding my own Jelly Library to Maven

2004-12-03 Thread Andreas Schaefer
Hi Geeks
 
I tried for quit a long time to add my very own jelly library into Maven
and still fail. Unfortunately I could not find the answer in Jelly or
Maven so I was wondering if someone could give me a pointer where to
look further.
 
My PatchTagLibrary class looks like this:
 
---
package jelly.patch;
import org.apache.commons.jelly.TagLibrary;
public class PatchTagLibrary extends TagLibrary {
public PatchTagLibrary() {
registerTag("patch", jelly.patch.PatchTag.class);
registerTag("getStatic", jelly.patch.GetStaticTag.class);
}
}
---
 
---

 


 ...
---
 
But I get this exception:
 
Underlying exception: java.lang.ClassNotFoundException: patch
java.lang.ClassNotFoundException: patch
at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at
org.apache.commons.jelly.parser.XMLParser.createTag(XMLParser.java:10
 
I would appreciate any help, thanx.
 
Andreas Schaefer
Senior Software Engineer
 
http://www.lajug.org/events.html#meeting";>Upcoming Maven
Presentation @ LA-JUG 12/7/04