haorendashu / signavio-core-components

Automatically exported from code.google.com/p/signavio-core-components
GNU General Public License v3.0
0 stars 0 forks source link

ant build-all-in-one-war failed #29

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.checkout the source code.
2.verify build.prperties as "configuration = Activiti,war = 
activiti-modeler,fileSystemRootDirectory = 
D:/activiti-5.7/workspace/activiti-engine-examples,dir-tomcat-webapps = 
D:/activiti-5.7/apps/apache-tomcat-6.0.32/webapps"
3.ant build-all-in-one-war

What is the expected output? What do you see instead?
build success.I see the error as follow:
BUILD FAILED
D:\signavio\build.xml:64: The following error occurred while executing this line
:
D:\signavio\editor\build.xml:118: Java returned: 2

What version of the product are you using? On what operating system?
activiti 5.7 on windows XP SP3

Please provide any additional information below.

Original issue reported on code.google.com by cqxuc...@gmail.com on 23 Sep 2011 at 8:58

GoogleCodeExporter commented 9 years ago
It seems that the following file is missing: 
editor/build/editor/stencilsets/bpmn2.0/view/swimlane/vertical.pool.svg

Original comment by Ernesto....@gmail.com on 24 Sep 2011 at 3:25

GoogleCodeExporter commented 9 years ago
The following files are missing:
 * editor/data/stencilsets/bpmn2.0/view/swimlane/vertical.pool.svg
 * editor/data/stencilsets/bpmn2.0/view/swimlane/vertical.collapsed.pool.svg
 * editor/data/stencilsets/bpmn2.0/view/swimlane/vertical.lane.svg

Original comment by Ernesto....@gmail.com on 24 Sep 2011 at 3:37

GoogleCodeExporter commented 9 years ago

Original comment by nicolas....@signavio.com on 26 Sep 2011 at 9:46

GoogleCodeExporter commented 9 years ago
I got the same problem. what`s your solution? Does it caused by the missing 
files? If so, could you send me those files? Thanks in advance.

Original comment by wsxz8...@gmail.com on 12 Oct 2011 at 8:21

GoogleCodeExporter commented 9 years ago
Just use copies of an existing svg file with the missing file names. I didn't 
test if it was really fixed or not, as comment 3 states.

Original comment by Ernesto....@gmail.com on 13 Oct 2011 at 11:02

GoogleCodeExporter commented 9 years ago
Erny, thanks for your reply. 
I don`t find any existing svg file with the missing file names. However, this 
four exist in that folder, pool.svg, lane.svg, collapsed.pool.svg and 
process.participant.svg. I made a copy of each file and named it the missing 
file name.
Then i tried again. Still, the same error occurred.
So, where can i find the missing files? how can they be lost?

Original comment by wsxz8...@gmail.com on 14 Oct 2011 at 1:31

GoogleCodeExporter commented 9 years ago
I just checkout the source code and don`t change any other codes. Failed on 
neither windows XP SP3 nor windows server 2003 SP2.

Original comment by wsxz8...@gmail.com on 14 Oct 2011 at 2:30

Attachments:

GoogleCodeExporter commented 9 years ago
Hi, I just did a fresh checkout on Linux Ubuntu 10.10/64 and the build "ant 
build-all-in-one-war" worked as expected without errors.

Original comment by Ernesto....@gmail.com on 20 Oct 2011 at 10:09

GoogleCodeExporter commented 9 years ago
This error occurs when compress editor\build\editor\oryx.debug.js with 
yuicompressor-2.4.2.jar. I'm trying to determine whether this js contains 
errors.

Original comment by huangxiaozhe1988@gmail.com on 2 Jun 2012 at 12:47

GoogleCodeExporter commented 9 years ago
Finally, I find this issue comes from encoding. 
First, edit editor/build.xml:
<property name="charset" value="utf-8"/>
<concat destfile='${build}/oryx.debug.js' encoding="${charset}" 
outputencoding="${charset}">
Then download yuicompressor-2.4.7.jar and put it into editor\lib
At last edit editor/build.xml:
<java dir="${build}" jar="${root}/lib/yuicompressor-2.4.7.jar" fork="true" 
failonerror="true" output='${compress.temp}'>

Original comment by huangxiaozhe1988@gmail.com on 2 Jun 2012 at 2:10

GoogleCodeExporter commented 9 years ago
thanks for comment 10 by huangxiaozhe1988@gmail.com

Original comment by yanhonglei on 24 Jul 2012 at 1:56