Hi,

(1) I have C:\andromda-bin-3.0M2 installed, Ant 1.6.1
and JDK 1.4.2 installed. I was able to build sample
apps. Also, I was able to create a new EJB application
using Ant.
(2) I have create a simple UML Model (attached as .zp
file. Please rename that as '.zip' once downloaded. It
was done because of the blocking of .zip files) using
MagicDraw.
(3) Tried to use the above Model file and built using
'ant'.
But, still I don't see any java-code-generated in that
new app directories.

Please let me know where am I doing wrong. I have also
attached console-log file.

Thank you.


                
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 
C:\andromda-bin-3.0M2\ant\katta3>ant
Buildfile: build.xml

dist:

mda:

mda:
 [andromda] INFO  [AndroMDA]
 [andromda] INFO  [AndroMDA] A n d r o M D A  -  3.0M2
 [andromda] INFO  [AndroMDA]
 [andromda] INFO  [AndroMDA] found translation-library --> 'query'
 [andromda] INFO  [AndroMDA] found translation-library --> 'validation'
 [andromda] INFO  [AndroMDA] found cartridge --> 'bpm4struts'
 [andromda] INFO  [AndroMDA] found cartridge --> 'ejb'
 [andromda] INFO  [AndroMDA] found cartridge --> 'java'
 [andromda] INFO  [AndroMDA] found cartridge --> 'webservice'
 [andromda] INFO  [AndroMDA] Input model --> 'file:C:/andromda-bin-3.0M2/ant/kat
ta3/mda/src/uml/mymodel.xml'
 [andromda] INFO  [AndroMDA] found metafacades --> 'bpm4struts'
 [andromda] INFO  [AndroMDA] found metafacades --> 'ejb'
 [andromda] INFO  [AndroMDA] found shared metafacades --> 'uml-1.4' - adding to
'default' namespace
 [andromda] INFO  [AndroMDA] found metafacades --> 'webservice'
 [andromda] INFO  [AndroMDA:bpm4struts] Output: 'file:/C:/andromda-bin-3.0M2/ant
/katta3/mda/../web/src/jsp/layout/csv-file.png'
 [andromda] INFO  [AndroMDA:bpm4struts] Output: 'file:/C:/andromda-bin-3.0M2/ant
/katta3/mda/../web/src/jsp/layout/excel-file.png'
 [andromda] INFO  [AndroMDA:bpm4struts] Output: 'file:/C:/andromda-bin-3.0M2/ant
/katta3/mda/../web/src/jsp/layout/sort-ascending.png'
 [andromda] INFO  [AndroMDA:bpm4struts] Output: 'file:/C:/andromda-bin-3.0M2/ant
/katta3/mda/../web/src/jsp/layout/sort-descending.png'
 [andromda] INFO  [AndroMDA:bpm4struts] Output: 'file:/C:/andromda-bin-3.0M2/ant
/katta3/mda/../web/src/jsp/layout/sort-none.png'
 [andromda] INFO  [AndroMDA:bpm4struts] Output: 'file:/C:/andromda-bin-3.0M2/ant
/katta3/mda/../web/src/jsp/layout/xml-file.png'
 [andromda] INFO  [AndroMDA:bpm4struts] Output: 'file:/C:/andromda-bin-3.0M2/ant
/katta3/mda/../web/src/jsp/layout/layout-common.js'
 [andromda] INFO  [AndroMDA] namespace for 'webservice' cartridge is either not
defined, or has the ignore attribute set to 'true' --> skipping processing
 [andromda] INFO  [AndroMDA] completed model processing, TIME --> 10.005[s]

nomda:

common:

compile:

jar:

dist:

ejb:

xdoclet:
[ejbdoclet] Deploy TEMPLATE URL:  jar:file:/C:/andromda-bin-3.0M2/ant/katta3/lib
/xdoclet-apache-module-1.2.jar!/xdoclet/modules/apache/axis/ejb/resources/axis-d
eploy_wsdd.xdt
[ejbdoclet] Undeploy TEMPLATE URL:  jar:file:/C:/andromda-bin-3.0M2/ant/katta3/l
ib/xdoclet-apache-module-1.2.jar!/xdoclet/modules/apache/axis/ejb/resources/axis
-undeploy_wsdd.xdt
[ejbdoclet] (XDocletMain.start                   47  ) Running <utilobject/>
[ejbdoclet] (XDocletMain.start                   47  ) Running <deploymentdescri
ptor/>
[ejbdoclet] (XDocletMain.start                   47  ) Running <jboss/>

compile:

jar:

dist:

web:

xdoclet:
[webdoclet] (XDocletMain.start                   47  ) Running <strutsconfigxml/
>
[webdoclet] (TemplateSubTask.engineStarted       794 ) Generating output 'struts
-config.xml' using template file 'jar:file:/C:/andromda-bin-3.0M2/ant/katta3/lib
/xdoclet-apache-module-1.2.jar!/xdoclet/modules/apache/struts/resources/struts_c
onfig_xml.xdt'.
[webdoclet] (XDocletMain.start                   47  ) Running <strutsvalidation
xml/>
[webdoclet] (TemplateSubTask.engineStarted       794 ) Generating output 'valida
tion.xml' using template file 'jar:file:/C:/andromda-bin-3.0M2/ant/katta3/lib/xd
oclet-apache-module-1.2.jar!/xdoclet/modules/apache/struts/resources/validation_
xml.xdt'.
[webdoclet] (XDocletMain.start                   47  ) Running <deploymentdescri
ptor/>
[webdoclet] Generating web.xml.
[webdoclet] (XDocletMain.start                   47  ) Running <jbosswebxml/>
[webdoclet] (TemplateSubTask.engineStarted       794 ) Generating output 'jboss-
web.xml' using template file 'jar:file:/C:/andromda-bin-3.0M2/ant/katta3/lib/xdo
clet-jboss-module-1.2.jar!/xdoclet/modules/jboss/web/resources/jboss_web_xml.xdt
'.

compile:

jar:
     [copy] Copying 7 files to C:\andromda-bin-3.0M2\ant\katta3\web\target\war-b
undle
     [copy] Copying 4 files to C:\andromda-bin-3.0M2\ant\katta3\web\target\war-b
undle\WEB-INF

-precompile:
      [war] Building war: C:\andromda-bin-3.0M2\ant\katta3\web\target\katta3-web
-1.0.war

dist:
     [copy] Copying 1 file to C:\andromda-bin-3.0M2\ant\katta3\dist

app:
     [copy] Copying 2 files to C:\andromda-bin-3.0M2\ant\katta3\app\target\META-
INF

ear:
      [ear] Building ear: C:\andromda-bin-3.0M2\ant\katta3\app\target\katta3-app
-1.0.ear

dist:
     [copy] Copying 1 file to C:\andromda-bin-3.0M2\ant\katta3\dist

deploy:
     [copy] Copying 1 file to C:\jboss-3.2.5\server\default\deploy

BUILD SUCCESSFUL
Total time: 16 seconds
C:\andromda-bin-3.0M2\ant\katta3>


Attachment: mymodel.zp
Description: mymodel.zp

Reply via email to