Re: T5 Creating a Library of Custom Components

2008-05-30 Thread Jesper Zedlitz
Marcus wrote: > I'm trying to create a T5 library using Eclipse, but... :( > I had a similar problem. Do you use Maven2 for dependency handling? The Maven Eclipse plugin will use the Eclipse project (containing the component) instead of the jar file. If you close the Eclipse project containing

Re: T5 Creating a Library of Custom Components

2008-05-29 Thread Marcus
Hi Thiago, - MANIFEST.MF was extracted from JAR and checked, file is ok - Try putting JAR in project build path. same error :( Marcus

Re: T5 Creating a Library of Custom Components

2008-05-29 Thread Thiago HP
On 5/28/08, Marcus <[EMAIL PROTECTED]> wrote: > Hi Thiago, > > You are right, LibraryModule was not loaded. Hi! Check your JAR's MANIFEST.MF. If it is OK, try putting your JAR in the classpath through Eclipse project settings instead of just dropping your JAR in WEB-INF/lib. -- Thiago ---

Re: T5 Creating a Library of Custom Components

2008-05-28 Thread Marcus
Hi Thiago, You are right, LibraryModule was not loaded. generated JAR: META-INF META-INF/MANIFEST.MF pub pub/t5lib pub/t5lib/LibraryModule.class pub/t5lib/components pub/t5lib/components/MyComponent.class any idea? Thanks, Marcus

Re: T5 Creating a Library of Custom Components

2008-05-28 Thread Thiago HP
It looks like your LibraryModule was not loaded. To ensure it is, put a System.out.println("Module loaded!") in your contributeComponentClassResolver() method. Also check the generated JAR to ensure everything is in the proper place. -- Thiago

T5 Creating a Library of Custom Components

2008-05-28 Thread Marcus
Hi, I'm trying to create a T5 library using Eclipse, but... :( Here are my steps and codes. - New Java Project: t5lib - Compiler compliance level is set to 5 src src/pub/t5lib src/pub/t5lib/LibraryModule.java src/pub/t5lib/components src/pub/t5lib/components/MyComponent.java (don't have a