cancel
Showing results for 
Search instead for 
Did you mean: 

How to run the activiti source code?

balaji1
Champ in-the-making
Champ in-the-making
Hi,

1. We have checked out the source code from SVN and installed in SVN.
Can you please tell us how to build this source code?

ALso what will be the outcome of this process?

2. We have proposed to use activiti plugin for our porject. We need to customise the palette shapes and XML tags. Can you please tell us the process to perform.


Please help us to resolve to above issues. We are badly stuck up here.
294 REPLIES 294

balaji1
Champ in-the-making
Champ in-the-making
Hi,

Below are the enviornments spec

OS - Redhat Linux
Initially,We had maven 2 installed in our system. Then based on your advice we installed maven 3 and the new maven environment was set up
using export command.  We also removed the repository(.m2/repository) to avoid any clashes between old and new jars.

Also,by the error message we could see still the link is pointing to http://repo1.maven.org/maven2. (Have already placed the entire message in this thread). Even we replicated the entire scenario in another machine but still same error was encountered.

Is there any other property we need to set to build the parent project.

We are badly stuck up here and not able to proceed further. Please help us.

tiesebarrell
Champ in-the-making
Champ in-the-making
What result do you get from a wget http://repo1.maven.org/maven2 command in the console?

If you're behind a proxy, you'll need to setup maven 3's settings to use the proxy. That might be the problem.

balaji1
Champ in-the-making
Champ in-the-making
Hi,
I am getting below output

ash-2.05b$ wget http://repo1.maven.org/maven2
–06:34:09–  http://repo1.maven.org/maven2
           => `maven2'
Resolving repo1.maven.org… 38.97.124.18
Connecting to repo1.maven.org|38.97.124.18|:80…

It is hanging like that.

Thanks

tiesebarrell
Champ in-the-making
Champ in-the-making
Then you are missing connectivity. Is the machine behind a proxy?

balaji1
Champ in-the-making
Champ in-the-making
Hi,
Thanks for your timely help.
I have set proxy address in settings.xml and the build has started.

Now after the build process,if I want to watch the output will the below process be followed?

In eclipse ,File -> Export->Plug-InDevelopment -> Deployable Plug-ins and fragments.
then plugin jars will be created. After restarting the eclipse,Can we visualize the output?

OR

IS there any other way ?

Thanks

tiesebarrell
Champ in-the-making
Champ in-the-making
If you want to run an Eclipse instance with the changes you made (or with just our original code), you can right click the org.activiti.designer.eclipse plugin project as choose Run as > Eclipse application. That's a *lot* quicker than creating a build with Maven. Building with Maven just bundles all of your project's artifacts so you can distribute to an update site for instance or an archive. It's not part of the daily development routine.

balaji1
Champ in-the-making
Champ in-the-making
Hi,

I did both the maven build and tried opening it as Eclipse Application.
I couldnt find the output.

Is anyother changes needs to be done?
Also,I got few errors from eclipse,model and gui projects after I checked out the code from SVN.

Thanks

tiesebarrell
Champ in-the-making
Champ in-the-making
If You have errors in the projects, you won't be able to run the plugins. You should make sure there are no errors first. The most likely culprit is the model project. Try running a mvn eclipse:clean eclipse:eclipse on that project and then refreshing in Eclipse. Good chance you'll have to do the same with the other projects.

balaji1
Champ in-the-making
Champ in-the-making
HI,
We are facing some version mismatch with the following package

org.eclipse.graphiti;bundle-version="0.7.0",
org.eclipse.graphiti.ui;bundle-version="0.7.0"

But we are able to find these jars in m2 local repository.

Can you please help us to resolve this version mismatch. But fortunately,there is no error in models Smiley Happy

tiesebarrell
Champ in-the-making
Champ in-the-making
Yep, that's because Eclipse doesn't actually look in your Maven repo. In Eclipse, you're using the PDE (plugin development environment) to load stuff. It will assume everything you need is in Eclipse or in a target environment definition. The most convenient way is to install the Graphiti SDK from the nightly update site (that's what we do). Add this site to your Eclipse: http://download.eclipse.org/graphiti/updates/nightly and install the SDK from it. That should fix you dependencies (you might need to do a project clean).