You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Wo...@atosorigin.com on 2008/01/24 17:39:08 UTC

archetypes & velocity [Virus checked]

Hi everyone ,

creating a project using an archetype utilizes velocity. Is there an
example and/or docs how to create your own velocity template for use in
your own archetypes ??

mit freundlichen Grüßen/best regards

Wolfgang Schrecker

"... the elements of a good model have synergy, and well-chosen MODULES
bring together elements of the model with particulary rich relationships"
from Eric Evans: Domain-Driven Design p. 110
 --
--------------------------------------------------

Atos Worldline Processing GmbH
Hahnstrasse 25
60528 Frankfurt/Main
Germany
Phone: +49 69/6657-1176
mailto:Wolfgang.Schrecker@atosorigin.com
http://www.atosworldline.com

Geschäftsführer: Erik Munk Koefoed
Aufsichtsratsvorsitzender: Didier Dhennin
Sitz der Gesellschaft: Frankfurt/Main
Handelsregister: Frankfurt/Main HRB 40 417
 
PS: Besuchen Sie am 21.02.2008 das Achte Kartenforum von Atos Worldline und B+S Card Service.
Infos und Anmeldung unter http://www.kartenforum.de
--------------------------------------------------

Atos Worldline Processing GmbH
Hahnstraße 25
60528 Frankfurt/Main
Germany
Phone: +49 69/6657-1176
Fax :
mailto: Wolfgang.Schrecker@atosorigin.com
http://www.atosworldline.com

Geschäftsführer: Erik Munk Koefoed
Aufsichtsratsvorsitzender: Didier Dhennin
Sitz der Gesellschaft: Frankfurt/Main
Handelsregister: Frankfurt/Main HRB 40 417


* * * * * * * * L E G A L    D I S C L A I M E R * * * * * * * *
This e-mail is destined for the above mentioned recipient. In case you
received this e-mail by accident, we would appreciate it if you could
contact the sender and delete all copies stored on your computer.
Please be aware that the security and confidentiality of electronic data
transmitted by e-mail is not completely guaranteed and that data may be seen,
copied, downloaded or changed by third persons during transmission.
Atos Origin accepts no liability for the security and confidentiality of
data and documents sent by e-mail. Please make sure that all important
messages will be confirmed in writing by means of a telefax or a letter.
* * * * * * * * L E G A L    D I S C L A I M E R * * * * * * * *

Re: Re: archetypes & velocity [Virus checked]

Posted by Raphaël Piéroni <ra...@gmail.com>.
Velocity is indicated in the plugin site
in the faq IIRC.

Raphaël

2008/1/30, Wolfgang.Schrecker@atosorigin.com
<Wo...@atosorigin.com>:
> Thanks for your patience and support Raphaël !
>
> I had NO idea that the archetype descriptor is in fact a velocity template.
> Since I started to read sources concerning archetype creation, I can see
> much clearer, what happens.
>
> mit freundlichen Grüßen/best regards
>
> Wolfgang Schrecker
>
> "... the elements of a good model have synergy, and well-chosen MODULES
> bring together elements of the model with particulary rich relationships"
> from Eric Evans: Domain-Driven Design p. 110
>  --
> --------------------------------------------------
>
> Atos Worldline Processing GmbH
> Hahnstrasse 25
> 60528 Frankfurt/Main
> Germany
> Phone: +49 69/6657-1176
> mailto:Wolfgang.Schrecker@atosorigin.com
> http://www.atosworldline.com
>
> Geschäftsführer: Erik Munk Koefoed
> Aufsichtsratsvorsitzender: Didier Dhennin
> Sitz der Gesellschaft: Frankfurt/Main
> Handelsregister: Frankfurt/Main HRB 40 417
>
>
>
>              "Raphaël Piéroni"
>              <raphaelpieroni@g
>              mail.com>                                                  An
>                                         "Maven Users List"
>              25.01.2008 18:56           <us...@maven.apache.org>
>                                                                      Kopie
>
>               Bitte antworten                                        Thema
>                     an                  Re: Re: archetypes & velocity
>                "Maven Users             [Virus checked]
>                    List"
>              <users@maven.apac
>                   he.org>
>
>
>
>
>
>
>
> Then in §2 "Create the archetype descriptor"
> the java files in archetype-resources are velocity templates.
>
> In §4 "Create the prototype files and the prototype pom.xml"
> you can see use defined properties passed to the velocity context
> before generating from template files.
>
> Hope this helps.
>
> Raphaël
>
> 2008/1/25, Wolfgang.Schrecker@atosorigin.com
> <Wo...@atosorigin.com>:
> > Sure I did, Raphaël. Did not see anything from velocity mentioned there.
> >
> > mit freundlichen Grüßen/best regards
> >
> > Wolfgang Schrecker
> >
> > "... the elements of a good model have synergy, and well-chosen MODULES
> > bring together elements of the model with particulary rich relationships"
> > from Eric Evans: Domain-Driven Design p. 110
> >  --
> > --------------------------------------------------
> >
> > Atos Worldline Processing GmbH
> > Hahnstrasse 25
> > 60528 Frankfurt/Main
> > Germany
> > Phone: +49 69/6657-1176
> > mailto:Wolfgang.Schrecker@atosorigin.com
> > http://www.atosworldline.com
> >
> > Geschäftsführer: Erik Munk Koefoed
> > Aufsichtsratsvorsitzender: Didier Dhennin
> > Sitz der Gesellschaft: Frankfurt/Main
> > Handelsregister: Frankfurt/Main HRB 40 417
> >
> >
> >
> >              "Raphaël Piéroni"
> >              <raphaelpieroni@g
> >              mail.com>
> An
> >                                         "Maven Users List"
> >              25.01.2008 15:11           <us...@maven.apache.org>
> >
> Kopie
> >
> >               Bitte antworten
> Thema
> >                     an                  Re: archetypes & velocity [Virus
> >                "Maven Users             checked]
> >                    List"
> >              <users@maven.apac
> >                   he.org>
> >
> >
> >
> >
> >
> >
> >
> > Hi Wolfgang,
> >
> > had you read that guide?
> > http://maven.apache.org/guides/mini/guide-creating-archetypes.html
> >
> > Regards,
> >
> > Raphaël
> >
> > 2008/1/25, Wolfgang.Schrecker@atosorigin.com
> > <Wo...@atosorigin.com>:
> > > Thanks a lot Raphaël!
> > >
> > > Then, once I have created the VTL text file (with help from your link),
> > > where in the archetype is it supposed to go, so it is executed when
> using
> > > the archetype to create a project??
> > >
> > > mit freundlichen Grüßen/best regards
> > >
> > > Wolfgang Schrecker
> > >
> > > "... the elements of a good model have synergy, and well-chosen MODULES
> > > bring together elements of the model with particulary rich
> relationships"
> > > from Eric Evans: Domain-Driven Design p. 110
> > >  --
> > > --------------------------------------------------
> > >
> > > Atos Worldline Processing GmbH
> > > Hahnstrasse 25
> > > 60528 Frankfurt/Main
> > > Germany
> > > Phone: +49 69/6657-1176
> > > mailto:Wolfgang.Schrecker@atosorigin.com
> > > http://www.atosworldline.com
> > >
> > > Geschäftsführer: Erik Munk Koefoed
> > > Aufsichtsratsvorsitzender: Didier Dhennin
> > > Sitz der Gesellschaft: Frankfurt/Main
> > > Handelsregister: Frankfurt/Main HRB 40 417
> > >
> > >
> > >
> > >              "Raphaël Piéroni"
> > >              <raphaelpieroni@g
> > >              mail.com>
> > An
> > >                                         "Maven Users List"
> > >              24.01.2008 22:36           <us...@maven.apache.org>
> > >
> > Kopie
> > >
> > >               Bitte antworten
> > Thema
> > >                     an                  Re: archetypes & velocity
> [Virus
> > >                "Maven Users             checked]
> > >                    List"
> > >              <users@maven.apac
> > >                   he.org>
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > Hi Wolfgang.
> > >
> > > velocity templates used in archetypes are just plain text files with
> VTL
> > > http://velocity.apache.org/engine/releases/velocity-1.4
> > > /vtl-reference-guide.html
> > >
> > > Hope this helps.
> > >
> > > Raphaël
> > >
> > > 2008/1/24, Wolfgang.Schrecker@atosorigin.com
> > > <Wo...@atosorigin.com>:
> > > > Hi everyone ,
> > > >
> > > > creating a project using an archetype utilizes velocity. Is there an
> > > > example and/or docs how to create your own velocity template for use
> in
> > > > your own archetypes ??
> > > >
> > > > mit freundlichen Grüßen/best regards
> > > >
> > > > Wolfgang Schrecker
> > > >
> > >
> > >
> > > PS: Besuchen Sie am 21.02.2008 das Achte Kartenforum von Atos Worldline
> > und B+S Card Service.
> > > Infos und Anmeldung unter http://www.kartenforum.de
> > > --------------------------------------------------
> > >
> > > Atos Worldline Processing GmbH
> > > Hahnstraße 25
> > > 60528 Frankfurt/Main
> > > Germany
> > > Phone: +49 69/6657-1176
> > > Fax :
> > > mailto: Wolfgang.Schrecker@atosorigin.com
> > > http://www.atosworldline.com
> > >
> > > Geschäftsführer: Erik Munk Koefoed
> > > Aufsichtsratsvorsitzender: Didier Dhennin
> > > Sitz der Gesellschaft: Frankfurt/Main
> > > Handelsregister: Frankfurt/Main HRB 40 417
> > >
> > >
> > > * * * * * * * * L E G A L    D I S C L A I M E R * * * * * * * *
> > > This e-mail is destined for the above mentioned recipient. In case you
> > > received this e-mail by accident, we would appreciate it if you could
> > > contact the sender and delete all copies stored on your computer.
> > > Please be aware that the security and confidentiality of electronic
> data
> > > transmitted by e-mail is not completely guaranteed and that data may be
> > seen,
> > > copied, downloaded or changed by third persons during transmission.
> > > Atos Origin accepts no liability for the security and confidentiality
> of
> > > data and documents sent by e-mail. Please make sure that all important
> > > messages will be confirmed in writing by means of a telefax or a
> letter.
> > > * * * * * * * * L E G A L    D I S C L A I M E R * * * * * * * *
> > >
> >
> >
> > PS: Besuchen Sie am 21.02.2008 das Achte Kartenforum von Atos Worldline
> und B+S Card Service.
> > Infos und Anmeldung unter http://www.kartenforum.de
> > --------------------------------------------------
> >
> > Atos Worldline Processing GmbH
> > Hahnstraße 25
> > 60528 Frankfurt/Main
> > Germany
> > Phone: +49 69/6657-1176
> > Fax :
> > mailto: Wolfgang.Schrecker@atosorigin.com
> > http://www.atosworldline.com
> >
> > Geschäftsführer: Erik Munk Koefoed
> > Aufsichtsratsvorsitzender: Didier Dhennin
> > Sitz der Gesellschaft: Frankfurt/Main
> > Handelsregister: Frankfurt/Main HRB 40 417
> >
> >
> > * * * * * * * * L E G A L    D I S C L A I M E R * * * * * * * *
> > This e-mail is destined for the above mentioned recipient. In case you
> > received this e-mail by accident, we would appreciate it if you could
> > contact the sender and delete all copies stored on your computer.
> > Please be aware that the security and confidentiality of electronic data
> > transmitted by e-mail is not completely guaranteed and that data may be
> seen,
> > copied, downloaded or changed by third persons during transmission.
> > Atos Origin accepts no liability for the security and confidentiality of
> > data and documents sent by e-mail. Please make sure that all important
> > messages will be confirmed in writing by means of a telefax or a letter.
> > * * * * * * * * L E G A L    D I S C L A I M E R * * * * * * * *
> >
>
>
> PS: Besuchen Sie am 21.02.2008 das Achte Kartenforum von Atos Worldline und B+S Card Service.
> Infos und Anmeldung unter http://www.kartenforum.de
> --------------------------------------------------
>
> Atos Worldline Processing GmbH
> Hahnstraße 25
> 60528 Frankfurt/Main
> Germany
> Phone: +49 69/6657-1176
> Fax :
> mailto: Wolfgang.Schrecker@atosorigin.com
> http://www.atosworldline.com
>
> Geschäftsführer: Erik Munk Koefoed
> Aufsichtsratsvorsitzender: Didier Dhennin
> Sitz der Gesellschaft: Frankfurt/Main
> Handelsregister: Frankfurt/Main HRB 40 417
>
>
> * * * * * * * * L E G A L    D I S C L A I M E R * * * * * * * *
> This e-mail is destined for the above mentioned recipient. In case you
> received this e-mail by accident, we would appreciate it if you could
> contact the sender and delete all copies stored on your computer.
> Please be aware that the security and confidentiality of electronic data
> transmitted by e-mail is not completely guaranteed and that data may be seen,
> copied, downloaded or changed by third persons during transmission.
> Atos Origin accepts no liability for the security and confidentiality of
> data and documents sent by e-mail. Please make sure that all important
> messages will be confirmed in writing by means of a telefax or a letter.
> * * * * * * * * L E G A L    D I S C L A I M E R * * * * * * * *
>

Re: Re: archetypes & velocity [Virus checked]

Posted by Wo...@atosorigin.com.
Thanks for your patience and support Raphaël !

I had NO idea that the archetype descriptor is in fact a velocity template.
Since I started to read sources concerning archetype creation, I can see
much clearer, what happens.

mit freundlichen Grüßen/best regards

Wolfgang Schrecker

"... the elements of a good model have synergy, and well-chosen MODULES
bring together elements of the model with particulary rich relationships"
from Eric Evans: Domain-Driven Design p. 110
 --
--------------------------------------------------

Atos Worldline Processing GmbH
Hahnstrasse 25
60528 Frankfurt/Main
Germany
Phone: +49 69/6657-1176
mailto:Wolfgang.Schrecker@atosorigin.com
http://www.atosworldline.com

Geschäftsführer: Erik Munk Koefoed
Aufsichtsratsvorsitzender: Didier Dhennin
Sitz der Gesellschaft: Frankfurt/Main
Handelsregister: Frankfurt/Main HRB 40 417


                                                                           
             "Raphaël Piéroni"                                             
             <raphaelpieroni@g                                             
             mail.com>                                                  An 
                                        "Maven Users List"                 
             25.01.2008 18:56           <us...@maven.apache.org>           
                                                                     Kopie 
                                                                           
              Bitte antworten                                        Thema 
                    an                  Re: Re: archetypes & velocity      
               "Maven Users             [Virus checked]                    
                   List"                                                   
             <users@maven.apac                                             
                  he.org>                                                  
                                                                           
                                                                           
                                                                           




Then in §2 "Create the archetype descriptor"
the java files in archetype-resources are velocity templates.

In §4 "Create the prototype files and the prototype pom.xml"
you can see use defined properties passed to the velocity context
before generating from template files.

Hope this helps.

Raphaël

2008/1/25, Wolfgang.Schrecker@atosorigin.com
<Wo...@atosorigin.com>:
> Sure I did, Raphaël. Did not see anything from velocity mentioned there.
>
> mit freundlichen Grüßen/best regards
>
> Wolfgang Schrecker
>
> "... the elements of a good model have synergy, and well-chosen MODULES
> bring together elements of the model with particulary rich relationships"
> from Eric Evans: Domain-Driven Design p. 110
>  --
> --------------------------------------------------
>
> Atos Worldline Processing GmbH
> Hahnstrasse 25
> 60528 Frankfurt/Main
> Germany
> Phone: +49 69/6657-1176
> mailto:Wolfgang.Schrecker@atosorigin.com
> http://www.atosworldline.com
>
> Geschäftsführer: Erik Munk Koefoed
> Aufsichtsratsvorsitzender: Didier Dhennin
> Sitz der Gesellschaft: Frankfurt/Main
> Handelsregister: Frankfurt/Main HRB 40 417
>
>
>
>              "Raphaël Piéroni"
>              <raphaelpieroni@g
>              mail.com>
An
>                                         "Maven Users List"
>              25.01.2008 15:11           <us...@maven.apache.org>
>
Kopie
>
>               Bitte antworten
Thema
>                     an                  Re: archetypes & velocity [Virus
>                "Maven Users             checked]
>                    List"
>              <users@maven.apac
>                   he.org>
>
>
>
>
>
>
>
> Hi Wolfgang,
>
> had you read that guide?
> http://maven.apache.org/guides/mini/guide-creating-archetypes.html
>
> Regards,
>
> Raphaël
>
> 2008/1/25, Wolfgang.Schrecker@atosorigin.com
> <Wo...@atosorigin.com>:
> > Thanks a lot Raphaël!
> >
> > Then, once I have created the VTL text file (with help from your link),
> > where in the archetype is it supposed to go, so it is executed when
using
> > the archetype to create a project??
> >
> > mit freundlichen Grüßen/best regards
> >
> > Wolfgang Schrecker
> >
> > "... the elements of a good model have synergy, and well-chosen MODULES
> > bring together elements of the model with particulary rich
relationships"
> > from Eric Evans: Domain-Driven Design p. 110
> >  --
> > --------------------------------------------------
> >
> > Atos Worldline Processing GmbH
> > Hahnstrasse 25
> > 60528 Frankfurt/Main
> > Germany
> > Phone: +49 69/6657-1176
> > mailto:Wolfgang.Schrecker@atosorigin.com
> > http://www.atosworldline.com
> >
> > Geschäftsführer: Erik Munk Koefoed
> > Aufsichtsratsvorsitzender: Didier Dhennin
> > Sitz der Gesellschaft: Frankfurt/Main
> > Handelsregister: Frankfurt/Main HRB 40 417
> >
> >
> >
> >              "Raphaël Piéroni"
> >              <raphaelpieroni@g
> >              mail.com>
> An
> >                                         "Maven Users List"
> >              24.01.2008 22:36           <us...@maven.apache.org>
> >
> Kopie
> >
> >               Bitte antworten
> Thema
> >                     an                  Re: archetypes & velocity
[Virus
> >                "Maven Users             checked]
> >                    List"
> >              <users@maven.apac
> >                   he.org>
> >
> >
> >
> >
> >
> >
> >
> > Hi Wolfgang.
> >
> > velocity templates used in archetypes are just plain text files with
VTL
> > http://velocity.apache.org/engine/releases/velocity-1.4
> > /vtl-reference-guide.html
> >
> > Hope this helps.
> >
> > Raphaël
> >
> > 2008/1/24, Wolfgang.Schrecker@atosorigin.com
> > <Wo...@atosorigin.com>:
> > > Hi everyone ,
> > >
> > > creating a project using an archetype utilizes velocity. Is there an
> > > example and/or docs how to create your own velocity template for use
in
> > > your own archetypes ??
> > >
> > > mit freundlichen Grüßen/best regards
> > >
> > > Wolfgang Schrecker
> > >
> >
> >
> > PS: Besuchen Sie am 21.02.2008 das Achte Kartenforum von Atos Worldline
> und B+S Card Service.
> > Infos und Anmeldung unter http://www.kartenforum.de
> > --------------------------------------------------
> >
> > Atos Worldline Processing GmbH
> > Hahnstraße 25
> > 60528 Frankfurt/Main
> > Germany
> > Phone: +49 69/6657-1176
> > Fax :
> > mailto: Wolfgang.Schrecker@atosorigin.com
> > http://www.atosworldline.com
> >
> > Geschäftsführer: Erik Munk Koefoed
> > Aufsichtsratsvorsitzender: Didier Dhennin
> > Sitz der Gesellschaft: Frankfurt/Main
> > Handelsregister: Frankfurt/Main HRB 40 417
> >
> >
> > * * * * * * * * L E G A L    D I S C L A I M E R * * * * * * * *
> > This e-mail is destined for the above mentioned recipient. In case you
> > received this e-mail by accident, we would appreciate it if you could
> > contact the sender and delete all copies stored on your computer.
> > Please be aware that the security and confidentiality of electronic
data
> > transmitted by e-mail is not completely guaranteed and that data may be
> seen,
> > copied, downloaded or changed by third persons during transmission.
> > Atos Origin accepts no liability for the security and confidentiality
of
> > data and documents sent by e-mail. Please make sure that all important
> > messages will be confirmed in writing by means of a telefax or a
letter.
> > * * * * * * * * L E G A L    D I S C L A I M E R * * * * * * * *
> >
>
>
> PS: Besuchen Sie am 21.02.2008 das Achte Kartenforum von Atos Worldline
und B+S Card Service.
> Infos und Anmeldung unter http://www.kartenforum.de
> --------------------------------------------------
>
> Atos Worldline Processing GmbH
> Hahnstraße 25
> 60528 Frankfurt/Main
> Germany
> Phone: +49 69/6657-1176
> Fax :
> mailto: Wolfgang.Schrecker@atosorigin.com
> http://www.atosworldline.com
>
> Geschäftsführer: Erik Munk Koefoed
> Aufsichtsratsvorsitzender: Didier Dhennin
> Sitz der Gesellschaft: Frankfurt/Main
> Handelsregister: Frankfurt/Main HRB 40 417
>
>
> * * * * * * * * L E G A L    D I S C L A I M E R * * * * * * * *
> This e-mail is destined for the above mentioned recipient. In case you
> received this e-mail by accident, we would appreciate it if you could
> contact the sender and delete all copies stored on your computer.
> Please be aware that the security and confidentiality of electronic data
> transmitted by e-mail is not completely guaranteed and that data may be
seen,
> copied, downloaded or changed by third persons during transmission.
> Atos Origin accepts no liability for the security and confidentiality of
> data and documents sent by e-mail. Please make sure that all important
> messages will be confirmed in writing by means of a telefax or a letter.
> * * * * * * * * L E G A L    D I S C L A I M E R * * * * * * * *
>

 
PS: Besuchen Sie am 21.02.2008 das Achte Kartenforum von Atos Worldline und B+S Card Service.
Infos und Anmeldung unter http://www.kartenforum.de
--------------------------------------------------

Atos Worldline Processing GmbH
Hahnstraße 25
60528 Frankfurt/Main
Germany
Phone: +49 69/6657-1176
Fax :
mailto: Wolfgang.Schrecker@atosorigin.com
http://www.atosworldline.com

Geschäftsführer: Erik Munk Koefoed
Aufsichtsratsvorsitzender: Didier Dhennin
Sitz der Gesellschaft: Frankfurt/Main
Handelsregister: Frankfurt/Main HRB 40 417


* * * * * * * * L E G A L    D I S C L A I M E R * * * * * * * *
This e-mail is destined for the above mentioned recipient. In case you
received this e-mail by accident, we would appreciate it if you could
contact the sender and delete all copies stored on your computer.
Please be aware that the security and confidentiality of electronic data
transmitted by e-mail is not completely guaranteed and that data may be seen,
copied, downloaded or changed by third persons during transmission.
Atos Origin accepts no liability for the security and confidentiality of
data and documents sent by e-mail. Please make sure that all important
messages will be confirmed in writing by means of a telefax or a letter.
* * * * * * * * L E G A L    D I S C L A I M E R * * * * * * * *

Re: Re: archetypes & velocity [Virus checked]

Posted by Raphaël Piéroni <ra...@gmail.com>.
Then in §2 "Create the archetype descriptor"
the java files in archetype-resources are velocity templates.

In §4 "Create the prototype files and the prototype pom.xml"
you can see use defined properties passed to the velocity context
before generating from template files.

Hope this helps.

Raphaël

2008/1/25, Wolfgang.Schrecker@atosorigin.com
<Wo...@atosorigin.com>:
> Sure I did, Raphaël. Did not see anything from velocity mentioned there.
>
> mit freundlichen Grüßen/best regards
>
> Wolfgang Schrecker
>
> "... the elements of a good model have synergy, and well-chosen MODULES
> bring together elements of the model with particulary rich relationships"
> from Eric Evans: Domain-Driven Design p. 110
>  --
> --------------------------------------------------
>
> Atos Worldline Processing GmbH
> Hahnstrasse 25
> 60528 Frankfurt/Main
> Germany
> Phone: +49 69/6657-1176
> mailto:Wolfgang.Schrecker@atosorigin.com
> http://www.atosworldline.com
>
> Geschäftsführer: Erik Munk Koefoed
> Aufsichtsratsvorsitzender: Didier Dhennin
> Sitz der Gesellschaft: Frankfurt/Main
> Handelsregister: Frankfurt/Main HRB 40 417
>
>
>
>              "Raphaël Piéroni"
>              <raphaelpieroni@g
>              mail.com>                                                  An
>                                         "Maven Users List"
>              25.01.2008 15:11           <us...@maven.apache.org>
>                                                                      Kopie
>
>               Bitte antworten                                        Thema
>                     an                  Re: archetypes & velocity [Virus
>                "Maven Users             checked]
>                    List"
>              <users@maven.apac
>                   he.org>
>
>
>
>
>
>
>
> Hi Wolfgang,
>
> had you read that guide?
> http://maven.apache.org/guides/mini/guide-creating-archetypes.html
>
> Regards,
>
> Raphaël
>
> 2008/1/25, Wolfgang.Schrecker@atosorigin.com
> <Wo...@atosorigin.com>:
> > Thanks a lot Raphaël!
> >
> > Then, once I have created the VTL text file (with help from your link),
> > where in the archetype is it supposed to go, so it is executed when using
> > the archetype to create a project??
> >
> > mit freundlichen Grüßen/best regards
> >
> > Wolfgang Schrecker
> >
> > "... the elements of a good model have synergy, and well-chosen MODULES
> > bring together elements of the model with particulary rich relationships"
> > from Eric Evans: Domain-Driven Design p. 110
> >  --
> > --------------------------------------------------
> >
> > Atos Worldline Processing GmbH
> > Hahnstrasse 25
> > 60528 Frankfurt/Main
> > Germany
> > Phone: +49 69/6657-1176
> > mailto:Wolfgang.Schrecker@atosorigin.com
> > http://www.atosworldline.com
> >
> > Geschäftsführer: Erik Munk Koefoed
> > Aufsichtsratsvorsitzender: Didier Dhennin
> > Sitz der Gesellschaft: Frankfurt/Main
> > Handelsregister: Frankfurt/Main HRB 40 417
> >
> >
> >
> >              "Raphaël Piéroni"
> >              <raphaelpieroni@g
> >              mail.com>
> An
> >                                         "Maven Users List"
> >              24.01.2008 22:36           <us...@maven.apache.org>
> >
> Kopie
> >
> >               Bitte antworten
> Thema
> >                     an                  Re: archetypes & velocity [Virus
> >                "Maven Users             checked]
> >                    List"
> >              <users@maven.apac
> >                   he.org>
> >
> >
> >
> >
> >
> >
> >
> > Hi Wolfgang.
> >
> > velocity templates used in archetypes are just plain text files with VTL
> > http://velocity.apache.org/engine/releases/velocity-1.4
> > /vtl-reference-guide.html
> >
> > Hope this helps.
> >
> > Raphaël
> >
> > 2008/1/24, Wolfgang.Schrecker@atosorigin.com
> > <Wo...@atosorigin.com>:
> > > Hi everyone ,
> > >
> > > creating a project using an archetype utilizes velocity. Is there an
> > > example and/or docs how to create your own velocity template for use in
> > > your own archetypes ??
> > >
> > > mit freundlichen Grüßen/best regards
> > >
> > > Wolfgang Schrecker
> > >
> >
> >
> > PS: Besuchen Sie am 21.02.2008 das Achte Kartenforum von Atos Worldline
> und B+S Card Service.
> > Infos und Anmeldung unter http://www.kartenforum.de
> > --------------------------------------------------
> >
> > Atos Worldline Processing GmbH
> > Hahnstraße 25
> > 60528 Frankfurt/Main
> > Germany
> > Phone: +49 69/6657-1176
> > Fax :
> > mailto: Wolfgang.Schrecker@atosorigin.com
> > http://www.atosworldline.com
> >
> > Geschäftsführer: Erik Munk Koefoed
> > Aufsichtsratsvorsitzender: Didier Dhennin
> > Sitz der Gesellschaft: Frankfurt/Main
> > Handelsregister: Frankfurt/Main HRB 40 417
> >
> >
> > * * * * * * * * L E G A L    D I S C L A I M E R * * * * * * * *
> > This e-mail is destined for the above mentioned recipient. In case you
> > received this e-mail by accident, we would appreciate it if you could
> > contact the sender and delete all copies stored on your computer.
> > Please be aware that the security and confidentiality of electronic data
> > transmitted by e-mail is not completely guaranteed and that data may be
> seen,
> > copied, downloaded or changed by third persons during transmission.
> > Atos Origin accepts no liability for the security and confidentiality of
> > data and documents sent by e-mail. Please make sure that all important
> > messages will be confirmed in writing by means of a telefax or a letter.
> > * * * * * * * * L E G A L    D I S C L A I M E R * * * * * * * *
> >
>
>
> PS: Besuchen Sie am 21.02.2008 das Achte Kartenforum von Atos Worldline und B+S Card Service.
> Infos und Anmeldung unter http://www.kartenforum.de
> --------------------------------------------------
>
> Atos Worldline Processing GmbH
> Hahnstraße 25
> 60528 Frankfurt/Main
> Germany
> Phone: +49 69/6657-1176
> Fax :
> mailto: Wolfgang.Schrecker@atosorigin.com
> http://www.atosworldline.com
>
> Geschäftsführer: Erik Munk Koefoed
> Aufsichtsratsvorsitzender: Didier Dhennin
> Sitz der Gesellschaft: Frankfurt/Main
> Handelsregister: Frankfurt/Main HRB 40 417
>
>
> * * * * * * * * L E G A L    D I S C L A I M E R * * * * * * * *
> This e-mail is destined for the above mentioned recipient. In case you
> received this e-mail by accident, we would appreciate it if you could
> contact the sender and delete all copies stored on your computer.
> Please be aware that the security and confidentiality of electronic data
> transmitted by e-mail is not completely guaranteed and that data may be seen,
> copied, downloaded or changed by third persons during transmission.
> Atos Origin accepts no liability for the security and confidentiality of
> data and documents sent by e-mail. Please make sure that all important
> messages will be confirmed in writing by means of a telefax or a letter.
> * * * * * * * * L E G A L    D I S C L A I M E R * * * * * * * *
>

Antwort: Re: archetypes & velocity [Virus checked]

Posted by Wo...@atosorigin.com.
Sure I did, Raphaël. Did not see anything from velocity mentioned there.

mit freundlichen Grüßen/best regards

Wolfgang Schrecker

"... the elements of a good model have synergy, and well-chosen MODULES
bring together elements of the model with particulary rich relationships"
from Eric Evans: Domain-Driven Design p. 110
 --
--------------------------------------------------

Atos Worldline Processing GmbH
Hahnstrasse 25
60528 Frankfurt/Main
Germany
Phone: +49 69/6657-1176
mailto:Wolfgang.Schrecker@atosorigin.com
http://www.atosworldline.com

Geschäftsführer: Erik Munk Koefoed
Aufsichtsratsvorsitzender: Didier Dhennin
Sitz der Gesellschaft: Frankfurt/Main
Handelsregister: Frankfurt/Main HRB 40 417


                                                                           
             "Raphaël Piéroni"                                             
             <raphaelpieroni@g                                             
             mail.com>                                                  An 
                                        "Maven Users List"                 
             25.01.2008 15:11           <us...@maven.apache.org>           
                                                                     Kopie 
                                                                           
              Bitte antworten                                        Thema 
                    an                  Re: archetypes & velocity [Virus   
               "Maven Users             checked]                           
                   List"                                                   
             <users@maven.apac                                             
                  he.org>                                                  
                                                                           
                                                                           
                                                                           




Hi Wolfgang,

had you read that guide?
http://maven.apache.org/guides/mini/guide-creating-archetypes.html

Regards,

Raphaël

2008/1/25, Wolfgang.Schrecker@atosorigin.com
<Wo...@atosorigin.com>:
> Thanks a lot Raphaël!
>
> Then, once I have created the VTL text file (with help from your link),
> where in the archetype is it supposed to go, so it is executed when using
> the archetype to create a project??
>
> mit freundlichen Grüßen/best regards
>
> Wolfgang Schrecker
>
> "... the elements of a good model have synergy, and well-chosen MODULES
> bring together elements of the model with particulary rich relationships"
> from Eric Evans: Domain-Driven Design p. 110
>  --
> --------------------------------------------------
>
> Atos Worldline Processing GmbH
> Hahnstrasse 25
> 60528 Frankfurt/Main
> Germany
> Phone: +49 69/6657-1176
> mailto:Wolfgang.Schrecker@atosorigin.com
> http://www.atosworldline.com
>
> Geschäftsführer: Erik Munk Koefoed
> Aufsichtsratsvorsitzender: Didier Dhennin
> Sitz der Gesellschaft: Frankfurt/Main
> Handelsregister: Frankfurt/Main HRB 40 417
>
>
>
>              "Raphaël Piéroni"
>              <raphaelpieroni@g
>              mail.com>
An
>                                         "Maven Users List"
>              24.01.2008 22:36           <us...@maven.apache.org>
>
Kopie
>
>               Bitte antworten
Thema
>                     an                  Re: archetypes & velocity [Virus
>                "Maven Users             checked]
>                    List"
>              <users@maven.apac
>                   he.org>
>
>
>
>
>
>
>
> Hi Wolfgang.
>
> velocity templates used in archetypes are just plain text files with VTL
> http://velocity.apache.org/engine/releases/velocity-1.4
> /vtl-reference-guide.html
>
> Hope this helps.
>
> Raphaël
>
> 2008/1/24, Wolfgang.Schrecker@atosorigin.com
> <Wo...@atosorigin.com>:
> > Hi everyone ,
> >
> > creating a project using an archetype utilizes velocity. Is there an
> > example and/or docs how to create your own velocity template for use in
> > your own archetypes ??
> >
> > mit freundlichen Grüßen/best regards
> >
> > Wolfgang Schrecker
> >
>
>
> PS: Besuchen Sie am 21.02.2008 das Achte Kartenforum von Atos Worldline
und B+S Card Service.
> Infos und Anmeldung unter http://www.kartenforum.de
> --------------------------------------------------
>
> Atos Worldline Processing GmbH
> Hahnstraße 25
> 60528 Frankfurt/Main
> Germany
> Phone: +49 69/6657-1176
> Fax :
> mailto: Wolfgang.Schrecker@atosorigin.com
> http://www.atosworldline.com
>
> Geschäftsführer: Erik Munk Koefoed
> Aufsichtsratsvorsitzender: Didier Dhennin
> Sitz der Gesellschaft: Frankfurt/Main
> Handelsregister: Frankfurt/Main HRB 40 417
>
>
> * * * * * * * * L E G A L    D I S C L A I M E R * * * * * * * *
> This e-mail is destined for the above mentioned recipient. In case you
> received this e-mail by accident, we would appreciate it if you could
> contact the sender and delete all copies stored on your computer.
> Please be aware that the security and confidentiality of electronic data
> transmitted by e-mail is not completely guaranteed and that data may be
seen,
> copied, downloaded or changed by third persons during transmission.
> Atos Origin accepts no liability for the security and confidentiality of
> data and documents sent by e-mail. Please make sure that all important
> messages will be confirmed in writing by means of a telefax or a letter.
> * * * * * * * * L E G A L    D I S C L A I M E R * * * * * * * *
>

 
PS: Besuchen Sie am 21.02.2008 das Achte Kartenforum von Atos Worldline und B+S Card Service.
Infos und Anmeldung unter http://www.kartenforum.de
--------------------------------------------------

Atos Worldline Processing GmbH
Hahnstraße 25
60528 Frankfurt/Main
Germany
Phone: +49 69/6657-1176
Fax :
mailto: Wolfgang.Schrecker@atosorigin.com
http://www.atosworldline.com

Geschäftsführer: Erik Munk Koefoed
Aufsichtsratsvorsitzender: Didier Dhennin
Sitz der Gesellschaft: Frankfurt/Main
Handelsregister: Frankfurt/Main HRB 40 417


* * * * * * * * L E G A L    D I S C L A I M E R * * * * * * * *
This e-mail is destined for the above mentioned recipient. In case you
received this e-mail by accident, we would appreciate it if you could
contact the sender and delete all copies stored on your computer.
Please be aware that the security and confidentiality of electronic data
transmitted by e-mail is not completely guaranteed and that data may be seen,
copied, downloaded or changed by third persons during transmission.
Atos Origin accepts no liability for the security and confidentiality of
data and documents sent by e-mail. Please make sure that all important
messages will be confirmed in writing by means of a telefax or a letter.
* * * * * * * * L E G A L    D I S C L A I M E R * * * * * * * *

Re: archetypes & velocity [Virus checked]

Posted by Raphaël Piéroni <ra...@gmail.com>.
Hi Wolfgang,

had you read that guide?
http://maven.apache.org/guides/mini/guide-creating-archetypes.html

Regards,

Raphaël

2008/1/25, Wolfgang.Schrecker@atosorigin.com
<Wo...@atosorigin.com>:
> Thanks a lot Raphaël!
>
> Then, once I have created the VTL text file (with help from your link),
> where in the archetype is it supposed to go, so it is executed when using
> the archetype to create a project??
>
> mit freundlichen Grüßen/best regards
>
> Wolfgang Schrecker
>
> "... the elements of a good model have synergy, and well-chosen MODULES
> bring together elements of the model with particulary rich relationships"
> from Eric Evans: Domain-Driven Design p. 110
>  --
> --------------------------------------------------
>
> Atos Worldline Processing GmbH
> Hahnstrasse 25
> 60528 Frankfurt/Main
> Germany
> Phone: +49 69/6657-1176
> mailto:Wolfgang.Schrecker@atosorigin.com
> http://www.atosworldline.com
>
> Geschäftsführer: Erik Munk Koefoed
> Aufsichtsratsvorsitzender: Didier Dhennin
> Sitz der Gesellschaft: Frankfurt/Main
> Handelsregister: Frankfurt/Main HRB 40 417
>
>
>
>              "Raphaël Piéroni"
>              <raphaelpieroni@g
>              mail.com>                                                  An
>                                         "Maven Users List"
>              24.01.2008 22:36           <us...@maven.apache.org>
>                                                                      Kopie
>
>               Bitte antworten                                        Thema
>                     an                  Re: archetypes & velocity [Virus
>                "Maven Users             checked]
>                    List"
>              <users@maven.apac
>                   he.org>
>
>
>
>
>
>
>
> Hi Wolfgang.
>
> velocity templates used in archetypes are just plain text files with VTL
> http://velocity.apache.org/engine/releases/velocity-1.4
> /vtl-reference-guide.html
>
> Hope this helps.
>
> Raphaël
>
> 2008/1/24, Wolfgang.Schrecker@atosorigin.com
> <Wo...@atosorigin.com>:
> > Hi everyone ,
> >
> > creating a project using an archetype utilizes velocity. Is there an
> > example and/or docs how to create your own velocity template for use in
> > your own archetypes ??
> >
> > mit freundlichen Grüßen/best regards
> >
> > Wolfgang Schrecker
> >
>
>
> PS: Besuchen Sie am 21.02.2008 das Achte Kartenforum von Atos Worldline und B+S Card Service.
> Infos und Anmeldung unter http://www.kartenforum.de
> --------------------------------------------------
>
> Atos Worldline Processing GmbH
> Hahnstraße 25
> 60528 Frankfurt/Main
> Germany
> Phone: +49 69/6657-1176
> Fax :
> mailto: Wolfgang.Schrecker@atosorigin.com
> http://www.atosworldline.com
>
> Geschäftsführer: Erik Munk Koefoed
> Aufsichtsratsvorsitzender: Didier Dhennin
> Sitz der Gesellschaft: Frankfurt/Main
> Handelsregister: Frankfurt/Main HRB 40 417
>
>
> * * * * * * * * L E G A L    D I S C L A I M E R * * * * * * * *
> This e-mail is destined for the above mentioned recipient. In case you
> received this e-mail by accident, we would appreciate it if you could
> contact the sender and delete all copies stored on your computer.
> Please be aware that the security and confidentiality of electronic data
> transmitted by e-mail is not completely guaranteed and that data may be seen,
> copied, downloaded or changed by third persons during transmission.
> Atos Origin accepts no liability for the security and confidentiality of
> data and documents sent by e-mail. Please make sure that all important
> messages will be confirmed in writing by means of a telefax or a letter.
> * * * * * * * * L E G A L    D I S C L A I M E R * * * * * * * *
>

Re: archetypes & velocity [Virus checked]

Posted by Wo...@atosorigin.com.
Thanks a lot Raphaël!

Then, once I have created the VTL text file (with help from your link),
where in the archetype is it supposed to go, so it is executed when using
the archetype to create a project??

mit freundlichen Grüßen/best regards

Wolfgang Schrecker

"... the elements of a good model have synergy, and well-chosen MODULES
bring together elements of the model with particulary rich relationships"
from Eric Evans: Domain-Driven Design p. 110
 --
--------------------------------------------------

Atos Worldline Processing GmbH
Hahnstrasse 25
60528 Frankfurt/Main
Germany
Phone: +49 69/6657-1176
mailto:Wolfgang.Schrecker@atosorigin.com
http://www.atosworldline.com

Geschäftsführer: Erik Munk Koefoed
Aufsichtsratsvorsitzender: Didier Dhennin
Sitz der Gesellschaft: Frankfurt/Main
Handelsregister: Frankfurt/Main HRB 40 417


                                                                           
             "Raphaël Piéroni"                                             
             <raphaelpieroni@g                                             
             mail.com>                                                  An 
                                        "Maven Users List"                 
             24.01.2008 22:36           <us...@maven.apache.org>           
                                                                     Kopie 
                                                                           
              Bitte antworten                                        Thema 
                    an                  Re: archetypes & velocity [Virus   
               "Maven Users             checked]                           
                   List"                                                   
             <users@maven.apac                                             
                  he.org>                                                  
                                                                           
                                                                           
                                                                           




Hi Wolfgang.

velocity templates used in archetypes are just plain text files with VTL
http://velocity.apache.org/engine/releases/velocity-1.4
/vtl-reference-guide.html

Hope this helps.

Raphaël

2008/1/24, Wolfgang.Schrecker@atosorigin.com
<Wo...@atosorigin.com>:
> Hi everyone ,
>
> creating a project using an archetype utilizes velocity. Is there an
> example and/or docs how to create your own velocity template for use in
> your own archetypes ??
>
> mit freundlichen Grüßen/best regards
>
> Wolfgang Schrecker
>

 
PS: Besuchen Sie am 21.02.2008 das Achte Kartenforum von Atos Worldline und B+S Card Service.
Infos und Anmeldung unter http://www.kartenforum.de
--------------------------------------------------

Atos Worldline Processing GmbH
Hahnstraße 25
60528 Frankfurt/Main
Germany
Phone: +49 69/6657-1176
Fax :
mailto: Wolfgang.Schrecker@atosorigin.com
http://www.atosworldline.com

Geschäftsführer: Erik Munk Koefoed
Aufsichtsratsvorsitzender: Didier Dhennin
Sitz der Gesellschaft: Frankfurt/Main
Handelsregister: Frankfurt/Main HRB 40 417


* * * * * * * * L E G A L    D I S C L A I M E R * * * * * * * *
This e-mail is destined for the above mentioned recipient. In case you
received this e-mail by accident, we would appreciate it if you could
contact the sender and delete all copies stored on your computer.
Please be aware that the security and confidentiality of electronic data
transmitted by e-mail is not completely guaranteed and that data may be seen,
copied, downloaded or changed by third persons during transmission.
Atos Origin accepts no liability for the security and confidentiality of
data and documents sent by e-mail. Please make sure that all important
messages will be confirmed in writing by means of a telefax or a letter.
* * * * * * * * L E G A L    D I S C L A I M E R * * * * * * * *

Re: archetypes & velocity [Virus checked]

Posted by Raphaël Piéroni <ra...@gmail.com>.
Hi Wolfgang.

velocity templates used in archetypes are just plain text files with VTL
http://velocity.apache.org/engine/releases/velocity-1.4/vtl-reference-guide.html

Hope this helps.

Raphaël

2008/1/24, Wolfgang.Schrecker@atosorigin.com
<Wo...@atosorigin.com>:
> Hi everyone ,
>
> creating a project using an archetype utilizes velocity. Is there an
> example and/or docs how to create your own velocity template for use in
> your own archetypes ??
>
> mit freundlichen Grüßen/best regards
>
> Wolfgang Schrecker
>