hi,

there a some things missing in your build.xml file,
generate bpm4struts separately from any other cartridge, also use a different classpath


 like this:

(notice the repository tag)

        <andromda basedir="."
            modelURL="${uml-model}"
            lastModifiedCheck="true"
            typeMappings="${andromda.core.path}/src/xml/TypeMapping.xml">
            <repository 
transformClassname="org.andromda.cartridges.bpm4struts.StrutsScriptHelper"/>
            <outlet cartridge="bpm4struts" outlet="actions" 
dir="${destination.struts.java.path}"/>
            <outlet cartridge="bpm4struts" outlet="forms" 
dir="${destination.struts.java.path}"/>
            <outlet cartridge="bpm4struts" outlet="pages" 
dir="${destination.struts.web.path}"/>
            <outlet cartridge="bpm4struts" outlet="config" 
dir="${destination.struts.web.path}"/>
            <outlet cartridge="java" outlet="value-objects" 
dir="${destination.struts.java.path}"/>
        </andromda>



I used your files and was able to do it in minutes, so there should not be a problem


I also spotted something:

<path id="andromda.classpath">
       <pathelement location="${andromda-core.home}/andromda.jar"/>
       <pathelement path="${andromda-core.classpath}"/>
       <!-- REFER TO CLASSPATHS OF ALL CARTRIDGES USED -->
       <pathelement path="${andromda-hibernate.classpath}"/>
       <pathelement path="${andromda-bpm4struts.classpath}"/>
</path>

I recommend using <fileset> instead of <pathelement>, like this

   <path id="andromda.classpath">
        <fileset dir="${andromda.home}/andromda-bpm4struts">
                <include name="*.jar"/>
        </fileset>
    </path>

after these changes everything generated nicely

good luck
Wouter.

__________________________________________________________________
McAfee VirusScan Online from the Netscape Network.
Comprehensive protection for your entire computer. Get your free trial today!
http://channels.netscape.com/ns/computing/mcafee/index.jsp?promo=393397

Get AOL Instant Messenger 5.1 free of charge.  Download Now!
http://aim.aol.com/aimnew/Aim/register.adp?promo=380455


-------------------------------------------------------
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
_______________________________________________
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user
  • ... Максим Петрашев
    • ... iamdraftdog
    • ... bvijaykr1
    • ... K . Tobi
      • ... Chad Brandon
        • ... K . Tobi
          • ... Chad Brandon
      • ... Wouter Zoons
        • ... Kunal H. Parikh
        • ... Kunal H. Parikh
    • ... Chad Brandon
    • ... Jose Carlos

Reply via email to