cancel
Showing results for 
Search instead for 
Did you mean: 

activiti alpha-2 demo.setup fails

vardaru1
Champ in-the-making
Champ in-the-making
it fails, because it could not find "${activiti.home}/webapps" directory.  Please make the necessary changes as follows:



   <target name="deploy.activiti.modeler.into.tomcat" unless="skip.deploy.activiti.modeler">
      <antcall target="internal.download.activiti.modeler" /> <!– Can't use depends for this, due to http://ant.apache.org/faq.html#stop-dependency-->
    <mkdir dir="${activiti.home}/apps/activiti-model-repository"/>
      <copy file="${activiti.home}/setup/files/webapps/activiti-modeler-${activiti.version}.war"
            tofile="${tomcat.home}/webapps/activiti-modeler.war"/>
   </target>

   <target name="internal.download.activiti.modeler" unless="is.activiti.modeler.available">
      <echo message="This could take a while. Set the 'skip.deploy.activiti.modeler' property in user.home/.activiti/build.properties to skip this step" />
     <get src="${activiti.modeler.download.url}" dest="${activiti.home}/setup/files/webapps/activiti-modeler-${activiti.version}.war"/>
   </target>

7 REPLIES 7

jbarrez
Star Contributor
Star Contributor
Yup, was indeed a bug, which we fixed  5 minutes after putting the zip online, but it took a few hours for Amazon to spread the update to all the download sites.
The version which is now online does not fail. Sorry for the inconvience.

gary1
Champ in-the-making
Champ in-the-making
The build script succeeds, but the 3 "webapp tools" pages are 404s.

gary1
Champ in-the-making
Champ in-the-making
Cancel that. Pilot error. Forgot I already had tomcat installed somewhere else.

activiti-admin
Champ in-the-making
Champ in-the-making
ezfzzef

livingst
Champ in-the-making
Champ in-the-making
Hi Guys,

I have installed ant 1.8.1

I want to launch "ant demo.setup" ( using the "invite de commandes" window ) . It fails with a

BUILD FAILED
D:\activiti-5.0.alpha2\setup\build.xml:53: java.lang.NoSuchMethodError: java.io.File.canExecute()Z
        at org.activiti.impl.ant.LaunchTask.isExecutable(LaunchTask.java:73)
        at org.activiti.impl.ant.LaunchTask.getExecutable(LaunchTask.java:57)
        at org.activiti.impl.ant.LaunchTask.execute(LaunchTask.java:40)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
        at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:592)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:390)
        at org.apache.tools.ant.Target.performTasks(Target.java:411)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1397)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1366)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1249)
        at org.apache.tools.ant.Main.runBuild(Main.java:801)
        at org.apache.tools.ant.Main.startAnt(Main.java:218)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)

Total time: 0 seconds

my JAVA_HOME and my ANT_HOME variables are ok.

If you have an idea…Thanks in advance.

tombaeyens
Champ in-the-making
Champ in-the-making
try java 6

livingst
Champ in-the-making
Champ in-the-making
Indeed, I will try. I will let you informed here.

edit: with jdk 6 it works !