Re: [mevenide-user] Maven 1.x & NetBeans 6.0
"Chuck F." <[email protected]>
| Newsgroups | gmane.comp.jakarta.turbine.maven.mevenide.user |
|---|---|
| Message-ID | <[email protected]> |
I've tried to get this to work on Windows XP but haven't had any luck so far. I have maven 1.1 installed. I have uninstalled NetBeans 6.0 M10 and deleted the %HOME%\.netbeans directory and then reinstalled. When reinstalling I select only the defaults. I then install the files from the mevenide-netbeans-1.1.zip. When I try to open an existing Maven1.1 project I get the following error: java.lang.NoClassDefFoundError: org/apache/maven/project/Dependency at org.mevenide.project.io.JarOverrideReader2.getOverrideValue(JarOverrideReader2.java:100) at org.mevenide.project.io.JarOverrideReader2.processOverride(JarOverrideReader2.java:92) at org.mevenide.netbeans.project.classpath.AbstractProjectClassPathImpl.checkOneDependency(AbstractProjectClassPathImpl.java:173) at org.mevenide.netbeans.project.classpath.SrcBuildClassPathImpl.createPath(SrcBuildClassPathImpl.java:55) at org.mevenide.netbeans.project.classpath.AbstractProjectClassPathImpl.getPath(AbstractProjectClassPathImpl.java:120) at org.mevenide.netbeans.project.classpath.AbstractProjectClassPathImpl.getResources(AbstractProjectClassPathImpl.java:110) at org.netbeans.api.java.classpath.ClassPath.entries(ClassPath.java:272) at org.netbeans.modules.java.source.classpath.GlobalSourcePath.createResources(GlobalSourcePath.java:221) at org.netbeans.modules.java.source.classpath.GlobalSourcePath.access$1200(GlobalSourcePath.java:60) at org.netbeans.modules.java.source.classpath.GlobalSourcePath$SourcePathImplementation.getResources(GlobalSourcePath.java:430) at org.netbeans.api.java.classpath.ClassPath$SPIListener.propertyChange(ClassPath.java:857) at org.netbeans.modules.java.source.classpath.GlobalSourcePath$SourcePathImplementation.firePropertyChange(GlobalSourcePath.java:479) at org.netbeans.modules.java.source.classpath.GlobalSourcePath.resetCacheAndFire(GlobalSourcePath.java:160) at org.netbeans.modules.java.source.classpath.GlobalSourcePath.access$500(GlobalSourcePath.java:60) at org.netbeans.modules.java.source.classpath.GlobalSourcePath$Listener.pathsAdded(GlobalSourcePath.java:627) Caused: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.openide.util.WeakListenerImpl$ProxyListener.invoke(WeakListenerImpl.java:427) Caused: java.lang.reflect.UndeclaredThrowableException at $Proxy9.pathsAdded(Unknown Source) at org.netbeans.api.java.classpath.GlobalPathRegistry.register(GlobalPathRegistry.java:184) at org.mevenide.netbeans.api.project.ProjectOpenedHookImpl.projectOpened(ProjectOpenedHookImpl.java:55) at org.netbeans.spi.project.ui.ProjectOpenedHook$1.projectOpened(ProjectOpenedHook.java:56) at org.netbeans.modules.project.ui.OpenProjectList.notifyOpened(OpenProjectList.java:640) at org.netbeans.modules.project.ui.OpenProjectList.doOpenProject(OpenProjectList.java:683) at org.netbeans.modules.project.ui.OpenProjectList.doOpen(OpenProjectList.java:335) at org.netbeans.modules.project.ui.OpenProjectList.access$100(OpenProjectList.java:87) at org.netbeans.modules.project.ui.OpenProjectList$3.run(OpenProjectList.java:235) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:539) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:964) Any help you can provide is greatly appreciated. Thanks, Chuck Eric Hartmann-2 wrote: > > Hi everyone, > > I've commited the changes to the trunk of mevenide1. > The modifications seems to work (at least for me). If you want to test > the integration you can download a zip containings all the nbm here : > http://mevenide.codehaus.org/download/mevenide-netbeans-1.1.zip > > Please note, that you need Netbeans 6.0M10 and Maven 1.1 to use this > plugin. > I will try to do my best to solve blocking bugs but I do not have so > much time... > > Regards, > > -eric > > On 7/2/07, Eric Hartmann <[email protected]> wrote: >> Hi Milos, >> >> I've just committed all the modifications and it seems to work with >> Maven 1.1 for my projects. >> >> The revision is 4465 in the trunk. >> >> I've compiled the code with JDK 1.5 but I remember that there is >> trouble with the permgen and the test, so I use the following command >> line (under Ubuntu 7.04 with Sun JDK 1.5.0_08) : >> MAVEN_OPTS="-Xmx384m -XX:MaxPermSize=160m" maven15 >> mevenide-netbeans:build >> >> (maven15 = maven 1.1 with JDK 1.5) >> >> The j2ee and cargo modules are not compiled anymore. >> >> I copied the netbeans' artifacts from the mevenide2 repository on my >> local maven1 repository and I have no problems. I don't upgrade the >> version of all the project, I may do this tomorrow. >> >> Regards, >> >> -eric >> >> On 6/28/07, Milos Kleint <[email protected]> wrote: >> > Great, Eric. >> > >> > Just commit the change, I assume j2ee and cargo can go. Anyone >> > actually using cargo deployment? the cargo version used is ancient >> > anyway. >> > the j2ee part would be more work I guess (based on what I've done for >> > m2 integration.) >> > I don't see a point for a branch for m1 stuff unless you want to >> > develop new features and want to have them both in 5.5 and 6.0. If not >> > we're fine with trunk being for 6.0 only. >> > regarding the repository artifacts, I'm not sure how to populate a >> > remote repository. You can try to experiment but I don't think it's a >> > showstopper not to have it.. >> > >> > Regards >> > >> > Milos >> > >> > >> > On 6/28/07, Eric Hartmann <[email protected]> wrote: >> > > Hi Milos, >> > > >> > > I'm really sorry for not being really active since a really long >> time. >> > > >> > > I have made some modifications to make mevenide1 compile with >> Netbeans >> > > 6.0 (without j2ee and cargo extension). All the tests are >> successfull, >> > > but I don't feel confident as I don't check all the modifications >> > > since 5.5. >> > > >> > > Do you want me to commit them (I've copied the release-M10 jars in my >> > > maven local repository from the m2 repository, but we need to have >> > > them on a M1 repository) ? >> > > You may want to have a netbeans 6.0 branch as mevenide2 ? >> > > >> > > Regards >> > > >> > > -eric >> > > >> > > On 6/28/07, Milos Kleint <[email protected]> wrote: >> > > > unfortunately not. I don't plan any work on maven1 integration. >> > > > >> > > > The described problem you have is probably only about packaging. >> The >> > > > m1 plugins build and package against 5.0, but I assume with some >> work >> > > > they could work in 6.0 as well. >> > > > feel free to checkout the sources and do the migration. I'll >> happily >> > > > apply any patched and do a release re-spin. >> > > > I expected some potential trouble with the release of maven 1.1 >> > > > though. Cannot remember the details anymore though. >> > > > >> > > > Regards >> > > > >> > > > Milos >> > > > >> > > > On 6/28/07, Jethro Borsje <jethro-fv2KMMfKDQZUH/[email protected]> wrote: >> > > > > Hi everybody, >> > > > > >> > > > > I have used the Mevenide 1.x plugin for NetBeans 5.5 and >> everything >> > > > > works fine. I am currently looking into the new (and great!) >> NetBeans >> > > > > 6.0. I can find a plugin for Maven 2.x, but not for 1.x. The old >> plugin >> > > > > for 1.x does not work in NetBeans 6.0 due to their new plugin / >> add-on >> > > > > infrastructure. Are there any plans to convert the 1.x plugin to >> > > > > NetBeans 6.0, or will there only be Maven 2.x support in NetBeans >> 6.0? >> > > > > >> > > > > -- >> > > > > Best regards, >> > > > > Jethro Borsje >> > > > > >> > > > > http://www.jborsje.nl >> > > > > >> > > > > >> --------------------------------------------------------------------- >> > > > > To unsubscribe from this list please visit: >> > > > > >> > > > > http://xircles.codehaus.org/manage_email >> > > > > >> > > > > >> > > > >> > > > >> --------------------------------------------------------------------- >> > > > To unsubscribe from this list please visit: >> > > > >> > > > http://xircles.codehaus.org/manage_email >> > > > >> > > > >> > > >> > > --------------------------------------------------------------------- >> > > To unsubscribe from this list please visit: >> > > >> > > http://xircles.codehaus.org/manage_email >> > > >> > > >> > >> > --------------------------------------------------------------------- >> > To unsubscribe from this list please visit: >> > >> > http://xircles.codehaus.org/manage_email >> > >> > >> > > --------------------------------------------------------------------- > To unsubscribe from this list please visit: > > http://xircles.codehaus.org/manage_email > > > -- View this message in context: http://www.nabble.com/Maven-1.x---NetBeans-6.0-tf3993274.html#a12279532 Sent from the mevenide - user mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email