cancel
Showing results for 
Search instead for 
Did you mean: 

money-tasks-1.0.0.jar

dev1
Champ in-the-making
Champ in-the-making
hi,
I successfully created money-tasks-1.0.0.jar and added it to the preferences as mentioned in the user guide…from here what i need to do to see a new palette in the eclipse….



Regards,
DEV
41 REPLIES 41

balaji1
Champ in-the-making
Champ in-the-making
DEV,
I added "Activiti designer Extension" library in userlibraries oj Java.

Can you please tell the sequence of steps to be followed to set up activiti project.

THanks

dev1
Champ in-the-making
Champ in-the-making
Hi,
If u are talking about installation of activiti project in eclipse then pls follow this http://docs.codehaus.org/display/ACT/Activiti+BPMN+2.0+Eclipse+Plugin  ….
but i am still stuck with the palette part..i will try it and get back to u all if i am not able to do it later in the day…

regards,
DEV

balaji1
Champ in-the-making
Champ in-the-making
Dev,
I am not talking about the installation of activiti.

Can you please brief our the steps involved for the below point.

After adding the library in the prefrences->users and adding the acma jar…just open a new actviti project and add the jars required to run activiti…u will be be able to import the dependencies…

THanks

balaji1
Champ in-the-making
Champ in-the-making
Was Is it working for u?

dev1
Champ in-the-making
Champ in-the-making
Hi tiese,
I gone through user guide once again and created the jar money jar file…i am attaching the project(named palette) by using which i created the jar and the jar also…see if the money jar is fine….if no then pls tell me how it need to be…

Regards,
DEV

tiesebarrell
Champ in-the-making
Champ in-the-making
You have the same problem as Balaji. You are pointing to a resource that is not on the jar's classpath, which results in a NPE. You have :

@Override
   public String getSmallIconPath() {
     return "icons/coins.png";
   }

But your icon file is at coins.png; there is no icons package.

Look at the Eclipse log; it should tell you precisely where the NPE is so you can see it's at:
Details: java.lang.NullPointerException
at java.util.zip.ZipFile.getInputStream(ZipFile.java:180)
at java.util.jar.JarFile.getInputStream(JarFile.java:385)
at org.activiti.designer.property.extension.CustomServiceTaskContextImpl.getSmallIconStream(CustomServiceTaskContextImpl.java:38)

Your small icon stream is null. I quote from the userguide:

"If you want to provide an icon, make sure it's in the src/main/resources package in your JAR and is about 16x16 pixels and a JPEG or PNG format. The path you supply is relative to that folder."

balaji1
Champ in-the-making
Champ in-the-making
DEV,

Is it working for you?

THanks

dev1
Champ in-the-making
Champ in-the-making
hi,
i did the changes as u asked me to do…but the problem remains the same….again attaching the changed file….

Regards,
DEV.

tiesebarrell
Champ in-the-making
Champ in-the-making
I can't test right now. What's the exact exception in the console/logfile?

dev1
Champ in-the-making
Champ in-the-making
the console problem is the same as it was before no change …

regards,
dev
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.