1 Reply Latest reply: Apr 30, 2013 2:48 PM by 706258 RSS

    wliassembly ant script failed

    706258
      Hello,

      I exported the build.xml for my WLI project from the Workshop. I was able to run the "ant clean build" on a command line, when I ran the "ant archive", it failed with the following error message. Does anyone know what is going on? and how to fix this?

      -----------------------
      wliassembly:
      [mkdir] Created dir: C:\bea\user_projects\wcb-source\workspace\rea\reaWorkflow\ReaWorkflowProcessWeb\build\assembly\.src
      [wliassemble] [INFO] Found a control to consider for assembly: org.wcb.rea.workflow.controls.ReaWorkflowTaskBatchControl
      [wliassemble] [INFO] Found a control to consider for assembly: org.wcb.rea.workflow.controls.ReaWorkflowTaskControl
      [wliassemble] [INFO] Discovered nested controls manifest for include in assembly: jar:file:/C:/bea/wli_10.3/lib/worklist-client.jar!/com/bea/control/TaskControlImpl.controls.properties
      [wliassemble] [INFO] Found a control to consider for assembly: org.wcb.rea.workflow.controls.SystemUserServiceControl
      [wliassemble] [INFO] Found a control to consider for assembly: org.wcb.rea.workflow.controls.ReaWorkflowUtilServiceControl
      [wliassemble] [INFO] Found a control to consider for assembly: org.wcb.rea.workflow.controls.CleanUpTaskServiceControl
      [wliassemble] [INFO] Found a control to consider for assembly: org.wcb.rea.workflow.controls.ProcessDocumentQueueCodeServiceControl
      [wliassemble] [INFO] Found a control to consider for assembly: org.wcb.rea.workflow.controls.GroupSecurityServiceControl
      [wliassemble] [INFO] Found a control to consider for assembly: org.wcb.rea.workflow.controls.SecurityGroupServiceControl
      [wliassemble] [INFO] Found a control to consider for assembly: org.wcb.rea.workflow.controls.EmailNotifier
      [wliassemble] [INFO] Found a control to consider for assembly: org.wcb.rea.workflow.controls.BusinessNameServiceControl
      [wliassemble] [INFO] Found a control to consider for assembly: org.wcb.rea.workflow.controls.CommunicationServiceControl
      [wliassemble] [INFO] Found a control to consider for assembly: org.wcb.rea.workflow.controls.BusinessServiceControl
      [wliassemble] [INFO] Found a control to consider for assembly: org.wcb.rea.workflow.controls.BusinessNoteServiceControl
      [wliassemble] [INFO] Found a control to consider for assembly: com.bea.control.TaskListenerControl
      [wliassemble] [INFO] assemble() called
      [wliassemble] [INFO] Performing assembly on CleanUpTaskServiceControl (type = TYLAR)
      [wliassemble] Assembly failed - Control Assembly process failed
      [wliassemble] Caused by: Assembly infrastructure exception
      [wliassemble] Caused by: weblogic/wsee/connection/transport/TransportInfo

      BUILD FAILED
      C:\bea\user_projects\wcb-source\workspace\rea\reaWorkflow\ReaWorkflowProcessEAR\build.xml:218: The following error occurred while executing this line:
      jar:file:/C:/bea/user_projects/wcb-source/workspace/rea/reaWorkflow/workshop-lib/workshop-antlib.jar!/com/bea/workshop/cmdline/antlib/antlib.xml:86: The following error occurred while executing this line:
      C:\bea\user_projects\wcb-source\workspace\rea\reaWorkflow\ReaWorkflowProcessEAR\build.xml:230: The following error occurred while executing this line:
      C:\bea\user_projects\wcb-source\workspace\rea\reaWorkflow\ReaWorkflowProcessWeb\build.xml:581: The following error occurred while executing this line:
      C:\bea\user_projects\wcb-source\workspace\rea\reaWorkflow\ReaWorkflowProcessWeb\build.xml:651: Assembly failed.
      -----------------------

      The line 651 of the C:\bea\user_projects\wcb-source\workspace\rea\reaWorkflow\ReaWorkflowProcessWeb\build.xml is "appRootDir="${ear.root}">". Here is the excerpt of the build file.

      -----------------------
      line 627 <target name="wliassembly" depends="init">
      line 628
      line 629 <taskdef name="wliassemble"
      line 630 classname="com.bea.control.assembly.AssembleTask"
      line 631 classpathref="java.classpath"
      line 632 onerror="report" />
      line 633
      line 634 <property name="wliassembly.src" value="${project.dir}/build/assembly/.src"/>
      line 635 <property name="wliassembly.module.root" value="${process.componentbeans.output.dir}"/>
      line 636 <property name="wliassembly.src.output" value="${java.src.0.output}"/>
      line 637
      line 638 <mkdir dir="${wliassembly.src}"/>
      line 639
      line 640 <path id="wliassembly.classpath">
      line 641 <path refid="java.classpath" />
      line 642 <pathelement location="${wliassembly.src.output}" />
      line 643 <pathelement path="${java.outpath}" />
      line 644 <pathelement path="${java.sourcepath}"/>
      line 645 </path>
      line 646
      line 647 <wliassemble
      line 648 moduleDir="${wliassembly.module.root}"
      line 649 moduleName="${project.name}"
      line 650 srcOutputDir="${wliassembly.src}"
      line 651 appRootDir="${ear.root}">
      line 652
      line 653 <assemblyContext factory="org.apache.beehive.controls.runtime.assembly.EJBAssemblyContext$Factory" />
      line 654 <classpath refid="wliassembly.classpath" />
      line 655 <fileset dir="${project.dir}">
      line 656 <include name="**/*.controls.properties" />
      line 657 </fileset>
      line 658 </wliassemble>
      line 659 <apt
      line 660 srcdir="${wliassembly.src}"
      line 661 preprocessdir="${apt.src.output.dir}"
      line 662 factorypathref="apt.factory.path"
      line 663 options="${apt.options}"
      line 664 compile="false">
      line 665 <classpath refid="wliassembly.classpath" />
      line 666 </apt>
      line 667
      line 668 <javac
      line 669 srcdir="${wliassembly.src}"
      line 670 destdir="${wliassembly.src.output}"
      line 671 debug="on">
      line 672 <classpath refid="wliassembly.classpath" />
      line 673 </javac>
      line 674
      line 675 </target>

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

      Thanks!