Hi!.

basically in Andromda you have two sources folders one is inside the Ejb or Hibernate folder and it is called /src and another one on the Bpm4Strus, also called /src.
In order to clean all the generated files you can "maven clean", (and all the files within the /target folders will be deleted) but this will not delete the files from the src folders mentioned above (since they are supposed to contain the logic of your application). You should delete those folder to build from scracth.

Carlos

Katta wrote:
You are absolutely right. Now, I have used the test
model and opened it and trying to add to that. Things
are good now. Sometimes, it is giving compile problems
if I add/delete few diagrams here and there. Is there
any flag that builds from scratch (after cleaning up
the previously generated code)?

Thank you.


--- Carlos Cuenca <[EMAIL PROTECTED]> wrote:

  
Hi Katta,

in the log says that everything was Ok, so you
should find a .ear file 
inside the

C:\andromda-bin-3.0M2\ant\katta3\app\target

that you can deploy in the default/deploy folder of
your Jboss.
Anyway I had opened the model and it is not Andromda
compliant, you 
should create a new proyect and use a default xmi
template file that 
should be inside the /mda folder. This model has the
correct stereotypes 
and everything, and the one that you had sent do
not.

On the other hand I recomend you to download and
Install maven since it 
is now the most up to date way of building the
proyect.
To start a new proyect with maven you should type:
"maven 
andromdapp:generate"
and to build the process you should jsut use "maven"
Carlos

Katta wrote:

    
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
    
'.
      
=== message truncated ===



		
_______________________________
Do you Yahoo!?
Express yourself with Y! Messenger! Free. Download now. 
http://messenger.yahoo.com


  

Reply via email to