Re: [mevenide-user] Re: 3.1.1 can't run java applications from netbeans anymore

"Milos Kleint" <[email protected]> Thu, 15 May 2008 06:59:38 +0200
Newsgroups gmane.comp.jakarta.turbine.maven.mevenide.user
Message-ID <[email protected]>
yup.
it's a space in path problem oin the exec plugin

we filed an issue to the exec plugin
(http://jira.codehaus.org/browse/MEXEC-44), we have this fixed to be
the default mapping version in our code but not yet released, it will
come shortly as an update.

Milos

On 5/15/08, Ravi Luthra <[email protected]> wrote:
> Oh well I seemed to have figured out my problem...
>
> The default version of the exec-maven-plugin was 1.1-beta-1. When I change
> this to 1.1 in nbactions.xml (or in the Project properties, Actions area)
> the problem is fixed!
>
> Ravi
>
>
> On Wed, May 14, 2008 at 2:59 PM, Ravi Luthra <[email protected]> wrote:
> > Here's the last half of the build:
> >
> > [#compile]
> > [compiler:compile]
> > Nothing to compile - all classes are up to date
> > [exec:exec]
> > 'C:\Program' is not recognized as an internal or external command,
> > operable program or batch file.
> > [ERROR]
> > [ERROR]
> > The following mojo encountered an error while executing:
> > Group-Id: org.codehaus.mojo
> > Artifact-Id: exec-maven-plugin
> > Version: 1.1-beta-1
> > Mojo: exec
> > brought in via: Direct invocation
> >
> > While building project:
> > Group-Id: com.some_company_name
> > Artifact-Id: some_company_name_utilities_application
> > Version: 1.0-SNAPSHOT
> > From file: C:\cvs\tools\utilities_tester\pom.xml
> > Reason: Result of "C:\Program
> Files\Java\jdk1.6.0_05\bin\java.exe" -classpath
> "C:\Documents and <huge list of
> jars>;C:\cvs\tools\utilities_tester\target\classes"
> com.some_company_name.tools.utilitiestester.UtilitiesTester
> execution is: '1'.
> >
> ------------------------------------------------------------------------
> > For more information, run with the -e flag
> >
> ------------------------------------------------------------------------
> > BUILD FAILED
> >
> ------------------------------------------------------------------------
> > Total time: 6 seconds
> > Finished at: Wed May 14 14:45:51 PDT 2008
> > Final Memory: 42M/85M
> >
> ------------------------------------------------------------------------
> >
> >
> > Java is installed where it thinks it is. Wiped out local maven repo just
> in case. Mevenide plugin settings are all set to defaults.
> >
> > In project Actions for "Run project"
> > Executive Goals: process-classes
> org.codehaus.mojo:exec-maven-plugin:1.1-beta-1:exec
> > Active Profiles:
> > Set Properties: exec.args="-classpath %classpath
> com.axolotl.tools.utilitiestester.UtilitiesTester"
> exec.executable=java
> >
> > It used to work in 3.0.x editions. Any ideas?
> >
> > Thanks,
> > Ravi
> >
>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email