NetBeans IDE 6.9 Refactor

  7 posts   Feedicon  
Replies: 6 - Last Post: July 24, 2010 19:32
by: jarome
showing 1 - 7 of 7
 
Posted: June 22, 2010 05:34 by Erik_K
I don't know if this is a bug so much as a fact-of-life change. The Lookup API was pulled out of the util module into its own module. As such, the project doesn't work as-is with 6.9. Might I suggest that you make a new release of the plugin that requires 6.9 or greater. Even if there are no new changes, it would be worth releasing.
 
Posted: June 22, 2010 07:47 by adamgmetzler
Just simply login and check out the sources from kenai from with in netbeans and update the project dependencies. It is not that difficult to add a dependency to the Lookup api followed by a clean and build. After that just build the .nbm's and add the location to your update center and install!
 
Posted: June 23, 2010 04:32 by Erik_K
I got the source code ok and I attempted to update the dependency. Unfortunately I can't get far enough in the build process for it to even matter. I get an error like this:

D:\NetBeans\NBAndroid\suite\build.xml:7: The following error occurred while executing this line:
D:\NetBeans\NBAndroid\suite\nbproject\build-impl.xml:41: Cannot find NetBeans build harness.
Check that nbplatform.NetBeans_IDE_6.7.1.netbeans.dest.dir and nbplatform.NetBeans_IDE_6.7.1.harness.dir are defined.
On a developer machine these are normally defined in C:\Users\Dad\.netbeans\6.9\build.properties=C:\Users\Dad\.netbeans\6.9/build.properties
but for automated builds you should pass these properties to Ant explicitly.

The build-impl.xml file claims it is generated and shouldn't be edited. On the other hand, I can't even run a clean on the suite without that error showing up. And if I blow it away, I just get another error about not being able to find the file. What should I do to get past this step?
 
Posted: June 23, 2010 04:45 by Erik_K
I decided that it couldn't hurt to edit the .netbeans\6.9\build.properties file as long as I am only adding new properties and took a shot at adding values for those properties. I set them to this:

nbplatform.NetBeans_IDE_6.7.1.netbeans.dest.dir=${nbplatform.default.netbeans.dest.dir}
nbplatform.NetBeans_IDE_6.7.1.harness.dir=${nbplatform.default.harness.dir}

That worked and I now have a clean build. I don't know if there was no other choice for earlier IDE versions, but it seems bad to rely on a specific version of the NetBeans IDE to get your project to build.
 
Posted: June 24, 2010 19:28 by radim
AFAICT modules can be installed into NB6.9 correctly.

It means you are likely to have a problem with development setup. I haven't tried yet but I'd expect that you need to add an older NB installation and use it as a platform to build nbandroid sources.

If we change module dependencies to depend on Lookup API now it will break compatibility with all older releases prior 6.9. We can do this at some point though I am not sure if we want to do it now. There is no development and no planned updates at the moment.
 
Posted: June 28, 2010 06:11 by davti

I tried to compile and install building with NB 6.8 setting thte nbplatform to "default" the project did compile but the ddmlib module kept failing with "Not a valid plugin" error What did you do to get the plugin to install correctly?

 
Posted: July 24, 2010 19:32 by jarome
I can't even open a project on NB 6.9 on a Mac. First it says that /Users/jar is not a valid file system, then if I navigate there, it says that every file already exists and I cannot get past the second screen of the New Project Wizard.

I hate using Eclipse. Please get this to work.
showing 1 - 7 of 7
Replies: 6 - Last Post: July 24, 2010 19:32
by: jarome
  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2010, Oracle Corporation and/or its affiliates
(revision 20120518.3c65429)
 
 
Close
loading
Please Confirm
Close