Posts Tagged ‘netbeans’

Invalid JavaScript code error warning in NetBeans

Finally I managed to reproduce something that have been annoying me for several months while using NetBeans as my primary JavaScript editor:

Filed as issue #159060.
Update: Fixed in trunk and available in 6.7 M2.

NetBeans – why even ask?

Dear NetBeans, thank you for the courtesy of warning me, but why do you really ask? You don’t give me much choice, do you…?
Now submitted as bug #155031.

AppFuse and NetBeans: part 2

Some more tips about getting an AppFuse generated application into NetBeans.

Pick archetype of choice, e.g.: mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes -DarchetypeArtifactId=appfuse-basic-spring -DremoteRepositories=http://static.appfuse.org/releases -DarchetypeVersion=2.0.2 -DgroupId=com.mycompany.app -DartifactId=myproject
Run mvn
Generate full sources: mvn appfuse:full-source
Install the Maven plugin in NetBeans (Tools / Plugins / Search for Maven).
Open the project (located the pom.xml file)
Right-click the project name and select Properties
In categories, select Run. [...]

AppFuse and NetBeans

Opening an AppFuse in NetBeans might be done in two ways, two ways that I managed to mix up the first time…
Either install the Maven plugin Mevenide2 for NetBeans, then you may simply open the Maven project generated by AppFuse directly. Without the Maven plugin, then you need to convert to project using mvn netbeans:netbeans [...]

AppFuse: Generate NetBeans project files

Using mvn netbeans:netbeans to generate a NetBeans project from AppFuse failed with the following build error:
The plugin ‘org.apache.maven.plugins:maven-netbeans-plugin’ does not exist or no valid version could be found
Apprently it cannot find the netbeans plugin. To fix this, open the pom.xml of the project and add a new plugin repository:

<pluginRepositories>

[...]