You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Johan Vogelzang <jo...@gmail.com> on 2006/09/29 12:59:00 UTC

maven-antrun-plugin configure ${env.path}

Hello all,

>From Maven[2.0.4] I want to use an existing third-paty ant-build script, by
executing tasks via the maven-antrun-plugin.
Some of the tasks in the ant-build script depend on Windows dll's, so these
dll's must be loaded on de PATH environment variable before the ant-scripts
runs.

Two questions:
1) Can I configure dll's as dependencies
2) Can I add these dll-dependencies to the PATH (${env.parh}) before the
ant-script runs.

Note: I do not want to make changes to the existingn ant-scripts, because
future versions are in hands of a third-party.

Thanx,
-- 
Johan

Re: maven-antrun-plugin configure ${env.path}

Posted by dan tran <da...@gmail.com>.
- You can upload your DLL to your internal remote repo
- Get maven-dependency-plugin to copy it, without version, your desired
location.
- Then you can use antrun to exe a new ant process ( this is where you can
configure
  java.library.path to include your dll path ) to invoke your build script.

May work, very sure about first 2 steps thou

-D


On 9/29/06, Johan Vogelzang <jo...@gmail.com> wrote:
>
> Hello all,
>
> From Maven[2.0.4] I want to use an existing third-paty ant-build script,
> by
> executing tasks via the maven-antrun-plugin.
> Some of the tasks in the ant-build script depend on Windows dll's, so
> these
> dll's must be loaded on de PATH environment variable before the
> ant-scripts
> runs.
>
> Two questions:
> 1) Can I configure dll's as dependencies
> 2) Can I add these dll-dependencies to the PATH (${env.parh}) before the
> ant-script runs.
>
> Note: I do not want to make changes to the existingn ant-scripts, because
> future versions are in hands of a third-party.
>
> Thanx,
> --
> Johan
>
>