Yeah the EJB subproject is the one I did not test yet (I rewrote
everything recently).. the rest always seemed to work for me so I did
not pay too much attention too them afterwards

I will enter all these issues into JIRA and fix them

As always: Thanks for your feedback :-)
-- Wouter

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:andromda-user-
> [EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
> consulting.de
> Sent: Thursday, August 12, 2004 3:41 PM
> To: [EMAIL PROTECTED]
> Subject: [Andromda-user] Issues with Ant Tool
> 
> Hello all,
> 
> I have just created my first Ant project with the AndroMDA 3.0M2
release
> ant tool I had the following problems and have the following
suggestions:
> 
> Subproject mda, suggestion:
> Because I work with eclipse very often I like to add a property
> "andromda.validating=[true|false]" to the build properties and use it
in
> the mda target:
> 
> ...
>     <target name="mda">
>         <taskdef name="andromda" classname=
> "org.andromda.core.anttasks.AndroMDAGenTask"
classpathref="classpath"/>
>         <andromda lastModifiedCheck="false"
>                   validating="${andromda.validating}" >
> ...
> 
> Probably you would like to add it to generated files...
> 
> 
> Subproject mda, suggestion:
> It would be nice to have more fine grained targets "mda.midtier",
> "mda.webtier" and "mda", which would just run the ejb/hibernate
cartridge
> or the bpm4struts cartridge or both respectivly. (I hope you
understand
> what I mean...)
> 
> Subproject common, bug?
> the fileset "java-sources" (build.xml, line 13) is never used.
> 
> Subproject ejb, bug!
> in build.xml, line 10 and 11 properties "common.jar.bundle.name" and
> "server.jar.bundle.name" are defined but never used.
> in build.xml, line 91 the properties "jar.bundle.name" is used but
never
> defined. (So you'll get a jar file with filename "${jar.bundle.name}"
> literaly.)
> Simple Fix: define "jar.bundle.name" with value "${application.id}
> -${ant.project.name}-${application.version}.jar". This will cause
problems
> in the web subproject.
> Better Fix: Fix the jar target and create a "common jar" and a "server
> jar". There it would be sufficiend to include only the interfaces of
the
> service beans in the common jar, right? Unfortunatly I don't know how
to
> collect just these...
> 
> Subproject web, bug!
> The path "classpath" just includes the common jars and because of the
bug
> in the ejb subproject will miss the ejb jar.
> 
> Subproject app, bug!
> The ear task in the ear target seems to have the wrong fileset:
> 
> <ear destfile="${basedir}/target/${jar.bundle.name}" appxml="
> ${deployment.descriptor.path}">
>     <fileset dir="${basedir}/target">
>         <include name="*.war"/>
>     </fileset>
>     <fileset dir="${basedir}/target">
>         <include name="*.jar"/>
>     </fileset>
> </ear>
> 
> (There's no "${basedir}/target" dir.)
> 
> Suggested fix:
> 
> <ear destfile="${basedir}/target/${jar.bundle.name}" appxml="
> ${deployment.descriptor.path}">
>     <fileset dir="${app.root.dir}/dist">
>         <include name="*.war"/>
>     </fileset>
>     <fileset dir="${app.root.dir}/dist">
>         <include name="*.jar"/>
>     </fileset>
> </ear>
> 
> Works fine for me.
> 
> Subproject app, bug?
> The META-INF/jboss.xml is not included in the ear file. Unfortunatly I
> don't now what's this file is good for. Everything seems to work fine
> without it...
> 
> Hope that helps. (The right place to fix this would be in the vsl
files in
> the ant tool sources right?)
> 
> Regards
> Stefan
> 
> 
> 
> 
> -------------------------------------------------------
> SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
> 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
> Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
> http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
> _______________________________________________
> Andromda-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/andromda-user



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to