On Tue, Sep 29, 2009 at 2:07 PM, Asma Maalej <[email protected]> wrote:
> Hello > > In fact, I don't need to use any plugin to do that, because my purpose is > to generate whole module and its necessary classes with the aid of another > class. This class is one of a set of composite services which the role is to > write the code of classes within files, to compile them throught command > "com.sun.tools.javac. Main.compile (xxxx) ", and finally must wrap the whole > in .mar archive. Without forgetting to generate automatically the file > MANIFEST.MF which must be situated under the directory META-INF. > > I wish I could transmit you well the idea, so can you now help me how can > I do thi > you problem is a generic java problem where you need to compile some java classes and generate a jar file. Some times back I did some thing like this by invoking ant tasks in a java class. as you know there are a lot of ant tasks and they can invoke in a java class. thanks, Amila. > Sagara Gunathunga a écrit : > >> Did you try for Aixs2 Maven MAR Plug-in ..? please take a look [1] >> >> [1] - >> http://ssagara.blogspot.com/2009/03/axis2-maven-module-mar-plug-in.html >> >> On Mon, Sep 28, 2009 at 10:17 PM, Asma Maalej <[email protected]> wrote: >> >> >>> Hello >>> >>> Using Axis2.1.4.1, I wanna know how can I generate automatically a module >>> .mar file. >>> This generation must be done within an other java class in which we have >>> to >>> write the core of handlers and module classes and also to generate the >>> MANIFEST.MF file and module.xml file under the META-INF repository. >>> I will be waiting for your helps >>> thank you >>> >>> -- >>> Asma MĀALEJ BESBES >>> Laboratoire LAAS - CNRS >>> Toulouse - France >>> Tčl: +33 (0)5 61 33 62 63 >>> Mobile: +33 (0)6 72 18 36 56 >>> E-mail: [email protected] >>> >>> >>> >>> >> >> >> >> >> > > > -- > Asma MÂALEJ BESBES > Laboratoire LAAS - CNRS > Toulouse - France > Tèl: +33 (0)5 61 33 62 63 > > Mobile: +33 (0)6 72 18 36 56 > E-mail: [email protected] > > -- Amila Suriarachchi WSO2 Inc. blog: http://amilachinthaka.blogspot.com/
