The executable is bundled within the plugin, that's why it cannot be
accessed simply as any file in the file system.  You'll have to extract it
to a temporary location first, then execute it.

On 5/11/07, maarten roosendaal <[EMAIL PROTECTED]> wrote:

Hi,

I've create a plugin which calls an executable and is packaged within the
plugin. However the code does not seem to be able to find the .exe even when
it is in the same package (error=2).

When i place the exe in c: it does seem to be able to find it using "cmd
c/ start c:/test.exe" but i want to be able to call an exe contained in the
plugin so Maven can use the ouput.

Any suggestions or examples?

Thanks,
Maarten

----- Original Message ----
From: Mac Systems <[EMAIL PROTECTED]>
To: Maven Users List <users@maven.apache.org>
Sent: Friday, May 11, 2007 2:10:33 PM
Subject: Re: Confusion: maven[2]-xdoclet[2]-plugin

Hello,

i have some similar problem. Actually XDoclet2 cannot be found:
I always get the Error:

Unable to download the artifact from any repository

xdoclet:maven2-xdoclet2-plugin:pom20.0.5-SNAPSHOT


Anyone can tell me what i am doing wrong  ?

Regards,
Jens


> Graham Leggett wrote on Thursday, May 10, 2007 12:48 PM:
>
>
>> Hi all,
>>
>> Up until now I have been using the xdoclet-maven-plugin from
>> org.codehaus.mojo, and having upgraded to v2.0.6 of maven,
>> this plugin no
>> longer works.
>>
>
> It works, you just have to add the dep to ant at the plugin's
declaration:
>
> <dependencies>
>     <dependency>
>         <groupId>ant</groupId>
>         <artifactId>ant</artifactId>
>         <version>1.6.5</version>
>         </dependency>
>     </dependencies>
> </dependencies>
>
>
>> Research shows that this particular plugin seems to
>> have been abandoned.
>>
>> Further research finds a confusing array of plugins, named
>> maven-xdoclet2-plugin, and maven2-xdoclet2-plugin.
>>
>> Which is the canonical plugin that should be used moving forward?
>>
>
> - Jörg
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>


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








____________________________________________________________________________________
It's here! Your new message!
Get new email alerts with the free Yahoo! Toolbar.
http://tools.search.yahoo.com/toolbar/features/mail/

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


Reply via email to