ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "EJ Ciramella" <ejcirame...@upromise.com>
Subject maven 2 dependency management from within ant
Date Tue, 09 Jan 2007 14:47:57 GMT
Has anyone tried this (or is using it)?
 
I pinged the m2 mailing list, but there hasn't been any response yet
(more than 48 hours so far).
 
I made it a bit further:

<project name="capi" default="compile"

xmlns:artifact="antlib:org.apache.maven.artifact.ant">

<target name="init">

<artifact:pom id="project" file="pom.xml"/>

<echo>The version is ${project.version}</echo>

<echo> ${project.build.directory}</echo>

<echo> ${project.name}</echo>

<echo> ${project.dependencies}</echo>

<!-- <echoproperties/> -->

</target>

<target name="compile" depends="init"> 

<mkdir dir="target/classes"/>

<javac srcdir="src/main/java"

destdir="target/classes"

includes="**/*.java"

classpathref="maven.project.classpath"

debug="on"

/>

</target>

Is the actual classpath used for compiling unavailable to ant as a

property? 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message