RE: [QUESTION] AndroMDA Maven Plugin

2004-01-06 Thread J. Matthew Pryor
I've already done this, I can send you mine if you wish

Matthew 

> -Original Message-
> From: Daniel S. Haischt [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, January 07, 2004 3:55 AM
> To: Maven Users List
> Subject: [QUESTION] AndroMDA Maven Plugin
> 
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> hello,
> 
> I am currently writing a Maven plugin for AndroMDA.
> 
> see -> http://www.andromda.org/
> 
> AndroMDA ships with an Ant task called ...
> 
> ~ org.andromda.core.anttasks.AndroMDAGenTask
> 
> ... that needs to be executed. I tried to model the Maven 
> plugin for AndroMDA equivalent to the Jalopy plugin which 
> also imports a standard Ant task definition.
> 
> Unfortunatly I am unable to setup my CLASSPATH appropriatly I 
> guess, because I am getting a class can't be found error.
> 
> - ---8<8<--8<-8<
> taskdef class org.andromda.core.anttasks.AndroMDAGenTask
> cannot be found
> - --->8>8-->8->8
> 
> The AndroMDA class that contains the Ant task is contained 
> within a JAR file called 'andromda-2.1.2.jar'.
> 
> Can you take a look at the attached files to tell me how to 
> setup the CLASSPATH variable accordingly so the AndroMDA task 
> for Ant could be executed?
> 
> Thanx in advance!
> 
> regards
> 
> daniel s. haischt
> 
> - --
> mail: [EMAIL PROTECTED]
> web:  http://www.daniel.stefan.haischt.name/
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.2.3 (MingW32)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
> 
> iD8DBQE/+uhhSj+pfjp+UA4RAqHTAKCHjgzjZvS5ai7Xzvqud42GxynFrACbBMv/
> 5D5Z0F5shyGXwJG1+Z4N4tc=
> =BA7z
> -END PGP SIGNATURE-
> 
> 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [QUESTION] AndroMDA Maven Plugin

2004-01-06 Thread Jason van Zyl
On Tue, 2004-01-06 at 11:54, Daniel S. Haischt wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> hello,
> 
> I am currently writing a Maven plugin for AndroMDA.
> 
> see -> http://www.andromda.org/
> 
> AndroMDA ships with an Ant task called ...
> 
> ~ org.andromda.core.anttasks.AndroMDAGenTask

Save yourself a lot of grief and make a bean of the ant task and just
avoid the whole ant classloading issue which is a serious pain in the
ass.

Then you can give the bean to the AndroMDA folks and they can just wrap
the bean for use in Ant.

> ... that needs to be executed. I tried to model the
> Maven plugin for AndroMDA equivalent to the Jalopy
> plugin which also imports a standard Ant task definition.
> 
> Unfortunatly I am unable to setup my CLASSPATH appropriatly
> I guess, because I am getting a class can't be found error.
> 
> - ---8<8<--8<-8<
> taskdef class org.andromda.core.anttasks.AndroMDAGenTask
> cannot be found
> - --->8>8-->8->8
> 
> The AndroMDA class that contains the Ant task is
> contained within a JAR file called 'andromda-2.1.2.jar'.
> 
> Can you take a look at the attached files to tell me
> how to setup the CLASSPATH variable accordingly so the
> AndroMDA task for Ant could be executed?
> 
> Thanx in advance!
> 
> regards
> 
> daniel s. haischt
> 
> - --
> mail: [EMAIL PROTECTED]
> web:  http://www.daniel.stefan.haischt.name/
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.2.3 (MingW32)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
> 
> iD8DBQE/+uhhSj+pfjp+UA4RAqHTAKCHjgzjZvS5ai7Xzvqud42GxynFrACbBMv/
> 5D5Z0F5shyGXwJG1+Z4N4tc=
> =BA7z
> -END PGP SIGNATURE-
> 
> 
> __
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
-- 
jvz.

Jason van Zyl
[EMAIL PROTECTED]
http://tambora.zenplex.org

In short, man creates for himself a new religion of a rational
and technical order to justify his work and to be justified in it.
  
  -- Jacques Ellul, The Technological Society


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [QUESTION] AndroMDA Maven Plugin

2004-01-06 Thread Daniel S. Haischt
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Forgot that attachments will be discarded, sorry 'bout that.

Below you will find the jelly script part that sets up
the Ant taskdef. I am 100% sure how to reference to
a dpendency path. Do I have to use the id or the groupId
or the artifactId?
- ---8<-8<--8<---8<8<
~
~  
~
~  
~  
~  
~  
~  
~  
~  
~  
  
~  
  
  
  
  
  
  
  
  
  
  
  
~
~  
~
- --->8->8-->8--->8>8
and this is a snippet from my project.xml, which defines all the
dependencies.
- ---8<-8<--8<---8<8<


commons-beanutils
1.6.1
http://jakarta.apache.org/commons/beanutils.html

root



commons-collections
2.1
http://jakarta.apache.org/commons/collections.html

root



commons-digester
1.4.1
http://jakarta.apache.org/commons/digester.html

root



commons-logging
1.0.3
http://jakarta.apache.org/commons/logging.html

root



log4j
1.2.8
http://jakarta.apache.org/

root



junit
3.8.1
http://www.junit.org/

root



velocity
velocity-dep
1.3.1
http://jakarta.apache.org/velocity/

root



openide
openide-fs
2.23.1
na

root



openide
openide-lookup
2.23.1
na

root



mdr
mdrapi
0.984
na

root



mdr
nbmdr
0.984
na

root



jmi
jmi
1.0
na

root



jmi
jmitoolkit
1.0
na

root



jmi
jmiuml14di
1.0
na

root



jmi
jmiutils
1.0
na

root



jmi
mof
1.0
na

root



andromda
andromda
2.1.2
http://www.andromda.org/

root



andromda
andromda-ejb
2.1.2
http://www.andromda.org/

root



andromda
andromda-hibernate
2.1.2
http://www.andromda.org/

root



andromda
andromda-java
2.1.2
http://www.andromda.org/

root



andromda
andromda-struts
2.1.2
http://www.andromda.org/

root



- --->8->8-->8--->8>8
Daniel S. Haischt wrote:

| hello,
|
| I am currently writing a Maven plugin for AndroMDA.
|
| see -> http://www.andromda.org/
|
| AndroMDA ships with an Ant task called ...
|
| ~ org.andromda.core.anttasks.AndroMDAGenTask
|
| ... that