NetBeans Maven and the challange with standard input
After several happy moments with the really great JEE development environment in NetBeans I tried to write a small 'Hello World' application which waits for an
A task for some seconds .... so I thought!!!
My misfortune was that I did not use ant scripts for building and running the application but maven. And to execute the application NetBeans uses the exec-maven-plugin which has a defect in the current version (1.1.1): The plugin does not connect the standard input of the the started JVM with the standard input of NetBeans which results in a output window which does not accept any keyboard inputs.
The defect is fixed in the development version 1.1.2-SNAPSHOT which is not released yet and only available in the codehaus snapshot repository (https://nexus.codehaus.org/content/groups/snapshots-group/).
To use this defect the codehaus repository must be added to the projects pom as repository AND pluginRepository. In the actions to run, debug, profile etc the version 1.1.1 must be replaced with 1.1.2-SNAPSHOT.
And everything works as expected from a good IDE.
Hello world!
Welcome to my new WordPress blog. This is my first post and I wonder how long it will be alone.
I hope to create a blog about my daily problems and solutions as Java consultant. In the past I had many wonderful ideas for web sites but it mostly failed because of my free time (or more my not free time
).
Well I hope (and pray) that this time it won't.
I guess you wonder were my special experiences are where I could talk about. Well for example JavaEE applications in combination with rich clients based on Eclipse RCP or Swing Frameworks, Maven in combination with Nexus, Archiva, Continuum, Hudson, Artifactory, Bamboo and specially for building Eclipse RCP application.
At the moment I try to build up my knowledge about NetBeans RCP.