Hi-,
I spent a few hours trying to replace Ant1.5 with the latest Maven.
Have a few questions/remarks:

1. The 'project.xml' file has lots of elements, which hardly make any sense
in
commercial projects (mailing lists, http repositories ...). Maybe it is OK
for
Commons/Turbine, but it is still a very narrow view of how project must be
organized.

2. The only thing in project.xml that governs compilation I found was:
---------------------
<build>
...
    <sourceDirectory>src/java</sourceDirectory>
....
</build>
---------------------

Then, how can I transition a former and not-so-trivial Ant task,
such as:
----------------------------------------------------------------------
<target name="compile" depends="prepare">
     <mkdir dir="${build.dir}/classes"/>
    <javac
        fork="yes"
        compiler="modern"
        executable="${java.home}/../bin/javac"
           destdir="${build.dir}/classes"
           source="1.4"
           deprecation="on"
           debug="${jcompiler.debug}"
           optimize="${jcompiler.optimize}">

           <compilerarg line="-J-Xbootclasspath/p:
${lib.dir}/gj/javac.jar"/>
           <compilerarg line="-bootclasspath ${lib.dir}/gj/collect.jar;
${java.home}/lib/rt.jar"/>
           <compilerarg line="-gj"/>
           <compilerarg line="-warnunchecked"/>
          <classpath refid="project.classpath"/>
          <src path="${src.dir}/census/java"/>
       </javac>
  </target>
---------------------------------------------------------------------------

This is how you'd compile if you already use Java Generics/jsr-014. And I
do!
Do I need to write maven.xml and if so, where can I look to see
how to hack <goal name="java:compile"> to make it call back my weird
javac Ant task ?

3. James, any plans to implement "go-fetch-me-a-jar" tag(s) in pure Jelly?
This would make Jelly+Ant  sifficiently powerful and the reasons
for switching to Maven far less compelling. Whatever happened to JJAR?

4. Any plans to implement extracting jars from within other bundles on an
HTTP server?
For example, I need Jakarta POI jars, but they do not exist at
ibiblio.org/maven
and I can not put them there. However, I could possibly extract them in
a local repository form the official POI site.

5. The current fetch engine in Maven would only takes care of executable
jars.
How can I make Maven bring the source too (well, I know there are no
sources
at ibiblio.org currently). This is important for tools like IDEA,
CodeGuide, Eclipse, etc.
Further, how about storing debug vs. optimized jars at ibiblio.org?


Thanks,
Hristo




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

Reply via email to