cancel
Showing results for 
Search instead for 
Did you mean: 

Source for Explorer

ericsnyder
Champ on-the-rise
Champ on-the-rise
I am trying to get the source for Explorer to look at it, learn and possibly reuse.
I have tried the location https://svn.codehaus.org/activiti using subversive but I keep getting an error.

!ENTRY org.eclipse.team.svn.core.svnnature 4 0 2013-03-27 10:52:26.766
!MESSAGE SVN: '0x00000019: Check Out' operation finished with error
!SUBENTRY 1 org.eclipse.team.svn.core.svnnature 4 0 2013-03-27 10:52:26.766
!MESSAGE Checkout operation for 'http://svn.codehaus.org/activiti' failed.
!STACK 0
org.eclipse.team.svn.core.connector.SVNConnectorException: svn: Connection reset
svn: REPORT request failed on '/activiti/!svn/vcc/default'

I don't want all of activiti anyway, just explorer.

Java/Activiti noob so any help would be appreciated.
16 REPLIES 16

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
Subversion is not used anymore, go to https://github.com/Activiti

udoderk
Champ in-the-making
Champ in-the-making
I am trying to get the source for Explorer to look at it, learn and possibly reuse.
I have tried the location https://svn.codehaus.org/activiti using subversive but I keep getting an error.

!ENTRY org.eclipse.team.svn.core.svnnature 4 0 2013-03-27 10:52:26.766
!MESSAGE SVN: '0x00000019: Check Out' operation finished with error
!SUBENTRY 1 org.eclipse.team.svn.core.svnnature 4 0 2013-03-27 10:52:26.766
!MESSAGE Checkout operation for 'http://svn.codehaus.org/activiti' failed.
!STACK 0
org.eclipse.team.svn.core.connector.SVNConnectorException: svn: Connection reset
svn: REPORT request failed on '/activiti/!svn/vcc/default'

I don't want all of activiti anyway, just explorer.

Java/Activiti noob so any help would be appreciated.

Not only github has the sources of activiti explorer;-)

If you use the last releases (5.11, 5.12) the sources are placed as jar file in release bundle. download it and change to <activiti-5.11>\libs folder

ericsnyder
Champ on-the-rise
Champ on-the-rise
If you use the last releases (5.11, 5.12) the sources are placed as jar file in release bundle. download it and change to <activiti-5.11>\libs folder
Ahhh…you are correct. I have unzipped the source and I have tried a number of ways to import into a project in Eclipse. This is where my Eclipse lack of knowledge comes in. I have succeeded in importing the sources into my src folder but I am getting 9,000 or so errors because of dependencies.

How to fix the dependencies? I looked for a pom.xml file thinking I could use maven but no joy…

udoderk
Champ in-the-making
Champ in-the-making
…I have unzipped the source and I have tried a number of ways to import into a project in Eclipse. This is where my Eclipse lack of knowledge comes in. I have succeeded in importing the sources into my src folder but I am getting 9,000 or so errors because of dependencies.

How to fix the dependencies? I looked for a pom.xml file thinking I could use maven but no joy…

if you need the activiti explorer sources only for debbuging, the quick way would be to assign that sources jar to activiti-explorer.jar (in eclipse it is possible - select the needed jar, that needs sources, and call context menu and assign the jar with sources)

if you need the fixing-forking of activiti explorer, the following way may be used:
unpack the activiti explorer sources jar
the activiti bundle has the war.files - activiti explorer.war. Unpack it and use the libraries from /WEB-INF/lib directory in your activiti explorer project.
If you want to start A.E in Eclipse you must have in eclipse project all directories/js-scripts/vaadin css-s.
p.s i not used the maven project but i use the information from pom-xml;-)
i used the information from github to related to activiti explorer and activiti explorer web application

ericsnyder
Champ on-the-rise
Champ on-the-rise
If you want to start A.E in Eclipse you must …
What is starting A.E in Eclipse???

udoderk
Champ in-the-making
Champ in-the-making
If you want to start A.E in Eclipse you must …
What is starting A.E in Eclipse???
embedded tomcat server, for instance.

ericsnyder
Champ on-the-rise
Champ on-the-rise
Duh….. Smiley Surprisedops:
"A.E" = Activiti Explorer

Thanks for your help. I now have it set up and can export a WAR. Next is getting it running in an Eclipse server instance.

Really enjoying learning Activity. Much better than Bonita (IMHO)

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
Much better than Bonita (IMHO)

Care to explain why? I don't know a lot about Bonita, but the overall impression I get is fairly ok. But i also know that the 'devil is in the details'

(and btw, I also missed 'A.E.'  Smiley Wink )

ericsnyder
Champ on-the-rise
Champ on-the-rise
Two things:

Bonita: The learning curve has been steep with poor community support on the forum. I had issues with users logging into the Bonita "Explorer" type app and having a connection issue with the database. It had to do with connection pools. It happens when you allow your session to expire. After you allow your session to expire then the inbox won't properly load the first few clicks. A number of other users had the issue as well. I tried to get it resolved but no luck and scant support. It seems to me to be a significant bug but it's not fixed yet. It has existed for some time now.

Also the Inbox has some issues like no ability to sort tasks and if there were more than one active item on a job then the inbox would just say "x tasks to be performed". When a user starts getting multiple "x tasks to perform" then it started getting confusing. They have to click on each one to determine what job it is for. The support for editing the Explorer app (User Experience) is just editing the css. Activiti with Vaadin seems a much better way. I am trying to use Explorer as a starting point for now.

I am becoming a passionate supporter of good open source projects where there is a strong and vibrant community of contributors. Apache, MySQL, JBoss, Java, there are lots of examples out there and more being added to the list every day. It just creates great software. Bonita just isn't quite there, I am hoping that Activiti is. Looks good so far.

Number two… I am still having noobie issues with my imported Explorer war. I have set up an eclipse project and have all the source code and can export a new war and can deploy that to the server. I am trying to add some new text fields and have followed these excellent instructions perfectly. When I add a new pachage to the src folder and deploy I get the exception:

Caused by: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.sharpline.fields.form.fields.TextAreaFormType] for bean with name 'com.sharpline.fields.form.fields.TextAreaFormType#53c37' defined in ServletContext resource [/WEB-INF/activiti-standalone-context.xml]; nested exception is java.lang.ClassNotFoundException: com.sharpline.fields.form.fields.TextAreaFormType
at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1262)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:433)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:270)
… 67 more
My new classes are not getting packaged in the war.

As a test I deleted the Explorer jar from the WEB-INF/lib folder and it did not get recreated either even though the source java files are in the src folder. The src folder is in the classpath. What could be wrong?