R: [RomaFramework-dev] Re: [Romaframework-development] Requested features
Brought to you by:
lvca
|
From: Luca G. <l.g...@pr...> - 2006-05-02 15:46:45
|
I worked a little bit to make current Roma structure. If you open the
build.xml under trunk\dev\modules\aspect-view-echo you can see:
<?xml version=3D"1.0" encoding=3D"UTF-8"?>
<project basedir=3D"." default=3D"compile" name=3D"aspect-view-echo2">
<property name=3D"project.path" value=3D"../.." />
<property name=3D"project.version" value=3D"0.5" />
<property name=3D"project.category" value=3D"modules" />
<property name=3D"project.depends.jar" value=3D"roma-core.jar" />
<property name=3D"project.depends.prj" value=3D"modules/core" />
<import file=3D"${project.path}/common/default-build.xml" />
</project>
This build file is extremely short, since it execute the =
default-build.xml
(in common) with project attributes.
This makes easy to develop a new module for Roma...
bye,
Luca Garulli
Blogging on: http://zion-city.blogspot.com
http://RomaFramework.xwiki.com - The ROMA Framework WiKi
http://www.Pro-Netics.com (member of Orixo.com - The XML business =
alliance)
http://www.OrienTechnologies.com - Light ODBMS, All in one JDO solution
________________________________
Da: rom...@li...
[mailto:rom...@li...] Per conto =
di
Valerio Schiavoni
Inviato: marted=EC 2 maggio 2006 17.36
A: rom...@li...
Oggetto: Re: [RomaFramework-dev] Re: [Romaframework-development] =
Requested
features
Hi Daniele,
On 5/2/06, Daniele Madama <d.m...@gm...> wrote:=20
The actual build use an ant task [1] for patching xml files, do you
known something that can do the same work into maven?=20
can you show me a little bit of this xml patching ? What kind of =
libraries
it requires?=20
In general, it is possible to invoke ant tasks quite easily.
for example, here is a small pom.xml where ant is used as you would do =
it
inside your build.xml:
<project>
<modelVersion>4.0.0</modelVersion>
<artifactId>my-test-app</artifactId>
<groupId>my-test-group</groupId>
<version>1.0-SNAPSHOT</version>
<build>
<plugins>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<phase>generate-sources</phase>
<configuration>
<tasks>
<exec
dir=3D"${basedir}"
executable=3D"${basedir}/src/main/sh/do-
something.sh"
failonerror=3D"true">
<arg line=3D"arg1 arg2 arg3 arg4" />
</exec>
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
Also, It is not difficult to write our own maven plugin to do 'dirty
things'.
But I don't know the framework so fine
what i know about it (so far) is nothing more than what Luca showed us =
few
days ago, and from a quick view to sources.
--=20
http://valerioschiavoni.blogspot.com
http://jroller.com/page/vschiavoni=20
|