[jboss-user] [jBPM] - Re: Startup of task service

David Harris do-not-reply at jboss.com
Thu Mar 7 20:42:55 EST 2013


David Harris [https://community.jboss.org/people/dmwpepper] created the discussion

"Re: Startup of task service"

To view the discussion, visit: https://community.jboss.org/message/801465#801465

--------------------------------------------------------------
Hi, technically would this work since <java classname="org.jbpm.DemoTaskService" fork="true">  comes at the end?  That would leave </java> appearing before.  So, I did this


  <target name="start.human.task">

      <mkdir dir="${install.home}/task-service/target"/>
      <javac srcdir="${install.home}/task-service/src" destdir="${install.home}/task-service/target" classpathref="classpath.human.task">
          <compilerarg value="-Xlint:unchecked"/>
     </javac>
    <copy todir="${install.home}/task-service/target">
         <fileset dir="${install.home}/task-service/resources"/>
    </copy>

    <sysproperty key="jbpm.user.group.mapping" value="${install.home}/jboss-as-7.1.1.Final/standalone/configuration/roles.properties"/>
    <java classname="org.jbpm.DemoTaskService" fork="true">  
         <classpath>
            <pathelement path="${install.home}/task-service/target"/>
            <path refid="classpath.human.task" />
         </classpath>
    </java>


  </target>

However, it didn't work.  I got the following response:

C:\jbpm>ant start.human.task
Buildfile: C:\jbpm\build.xml
start.human.task:
    [javac] C:\jbpm\build.xml:864: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
BUILD FAILED
C:\jbpm\build.xml:870: Problem: failed to create task or type sysproperty
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.

Total time: 0 seconds
C:\jbpm>

What's next?

--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/801465#801465]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130307/8020e040/attachment.html 


More information about the jboss-user mailing list