money-tasks-1.0.0.jar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-04-2011 05:33 AM
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
- Labels:
-
Archive

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-04-2011 06:40 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-05-2011 12:31 AM
I need some help in creating this new palette….what code should be written in "org.acme.runtime.AcmeMoneyJavaDelegation".
Regards,
DEV

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-05-2011 01:18 AM
Are you able to create the extension jar. I am getting build failure in the example for customisation
[INFO] ————————————————————————
[INFO] BUILD FAILURE
[INFO] ————————————————————————
[INFO] Total time: 59.403s
[INFO] Finished at: Wed Jan 05 06:14:18 GMT 2011
[INFO] Final Memory: 4M/81M
[INFO] ————————————————————————
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-jar-plugin:2.3.1:jar (default-jar) on project money-tasks: Error assembling JAR: Failed to read filesystem attributes for: /etrade/home/rravindr/Actnew_0.6/com.etrade.designer.custom.palette/pom.xml: Failed to retrieve numeric file attributes using: '/bin/sh -c ls -1nlad /etrade/home/rravindr/Actnew_0.6/com.etrade.designer.custom.palette/pom.xml': Error while executing process. Cannot run program "/bin/sh": java.io.IOException: error=12, Cannot allocate memory -> [Help 1]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-05-2011 01:25 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-05-2011 01:56 AM
Can you please tell the list of steps you followed?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-05-2011 02:46 AM
1)Create a new java project.
2)create a new pom.xml file in that java project…and i wrote the following things in that pom.xml:-
<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.acme</groupId>
<artifactId>money-tasks</artifactId>
<version>1.0.0</version>
<packaging>jar</packaging>
<name>Acme Corporation Money Tasks</name>
<dependencies>
<dependency>
<groupId>org.activiti</groupId>
<artifactId>activiti-designer-integration</artifactId>
<version>0.6.0</version> <!– Current Activiti Designer Version –>
<scope>compile</scope>
</dependency>
</dependencies>
<repositories>
<repository>
<id>Activiti</id>
<url>http://maven.alfresco.com/nexus/content/repositories/activiti/</url>
</repository>
</repositories>
<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.5</source>
<target>1.5</target>
<showDeprecation>true</showDeprecation>
<showWarnings>true</showWarnings>
<optimize>true</optimize>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.3.1</version>
<configuration>
<archive>
<index>true</index>
<manifest>
<addClasspath>false</addClasspath>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
</manifest>
<manifestEntries>
<ActivitiDesigner-Extension-Name>Acme Money</ActivitiDesigner-Extension-Name>
</manifestEntries>
</archive>
</configuration>
</plugin>
</plugins>
</build>
3)previously i just built this file and got a jar..but i know untill imention something in the </dependencies> tag which i have left blank for time being i wont be able to do any thing….
I want u to tell me what is the java file which i need to write and how to mention it in dependencies tag in my pom.xml to create a new palette.
Regards,
DEV

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-05-2011 03:10 AM
you don't need anything in the dependencies tag besides what you have already. The class you write is IN this library, so you're not dependent on another. Just implement a POJO and annotate some members as described in the userguide. That's the kind of class you need to write.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-05-2011 03:37 AM
so you are asking me to add this jar file to the activiti project as mentioned in the user guide and impliment a class with the name "AcmeMoneyTask" as mentioned in the user guide……
till here i have done it earlier but the problem was, in that pojo file i was getting stuck with some dependencies. I am forwarding you the snapshot…
Regards,
DEV

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-05-2011 03:55 AM
After I created plugin.xml and ran mvn eclipse:eclipse. It has created src/main/java and src/main/resources folders.
1. Once you've created your extension JAR (for instance, by performing a mvn install in your project to build it with Maven), you need to transfer the extension to the computer where Activiti Designer is installed;
For the above step , I ran mvn install and faced below error.
ERROR] Failed to execute goal org.apache.maven.plugins:maven-jar-plugin:2.3.1:jar (default-jar) on project money-tasks: Error assembling JAR: Failed to read filesystem attributes for: /etrade/home/rravindr/Actnew_0.6/com.etrade.designer.custom.palette/pom.xml: Failed to retrieve numeric file attributes using: '/bin/sh -c ls -1nlad /etrade/home/rravindr/Actnew_0.6/com.etrade.designer.custom.palette/pom.xml': Error while executing process. Cannot run program "/bin/sh": java.io.IOException: error=12, Cannot allocate memory -> [Help 1]
