cancel
Showing results for 
Search instead for 
Did you mean: 

JAR file uses dos file separator rather than Linux file sepa

ct1
Champ in-the-making
Champ in-the-making
When I invoke the "Create deployment artifacts" in Eclipse, a deployment directory is created in my project.  Inside the deployment directory are a .bar file and a .jar file.  When I copy the .jar file to the activiti-5.7\apps\apache-tomcat-6.032\webapps\activiti-explorer\WEB-INF\lib, restart the demo project and execute the process, I get a ClassDefNotFound exception for one of the classes in the .jar file.  I noticed that the file separator character in the .jar file is "\", not "/".  I extracted the files from the .jar file and manually jarred them again.  This caused the Linux file separator to be used and I no longer got the ClassDefNotFound exception.  I also tried using the Eclipse "Export" to a Jar file; that worked too.

If the .jar file created by the "Create deployment artifacts" is not meant to be used, it might be less confusing to just remove it at the end of the "Create deployment artifacts" processing rather than leave something that will not work just sitting around begging to be used.

Thank you.
6 REPLIES 6

trademak
Star Contributor
Star Contributor
Which version of the Activiti Designer are you using? On Mac OSx this works fine, so I find it very strange that it's not working on Linux.

Best regards,

ct1
Champ in-the-making
Champ in-the-making
I am using Activiti 5.7 on Windows 7 with Eclipse Helios. 

I only noticed the DOS file separators ("\") because I came from a Unix/Linux environment in a prior job.  We are not running in a Linux environment here.

tiesebarrell
Champ in-the-making
Champ in-the-making
This sounds like a bug. The feature you refer to is not a deprecated or leftover one. Please create an issue in JIRA for us to investigate and fix if necessary.

ct1
Champ in-the-making
Champ in-the-making
I am sorry for being the only one who does not know how to "create an issue in JIRA"; I am new to this environment.  I looked for some link and did not see one.  I did not find any reference to it in the FAQ.  Please provide a hint about how to do it and I will create the issue.

Thank you.

tiesebarrell
Champ in-the-making
Champ in-the-making
No need to apologize, my mistake. I assumed you would know. The JIRA system can be found at: http://jira.codehaus.org/browse/ACT . You should be able to create an account from that page by going to the login page (top right) and indicating you want to create a new account. If not, just let us know.

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
The jira system is described on the community page which is referenced on the homepage 🙂

Oh and: http://tinyurl.com/6xbu3xl