Re: Manual procedure to update Wicket for NetBeans
Martin Grigorov-4 wrote Hi, Please paste it here. Isn't it just download the jars from Maven repos or from Apache Dist and put them in your project structure ? On Wed, Nov 21, 2012 at 4:49 PM, Ian Marshall lt; IanMarshall.UK@ gt;wrote: I develop my Wicket application using NetBeans and Ant (not Maven). ... -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com lt;http://jweekend.com/gt; Almost. I write a procedure to ensure that I do not forget anything. Perhaps I am over-complicating things and am unaware of a much simpler way to do this. Anyway, I copy my procedure below (edited for possible public consumption). UPDATING THE WICKET WEB FRAMEWORK WITHIN NETBEANS FOR ANT-BASED PROJECTS – PROCEDURE INTRODUCTION This procedure assumes that the following Wicket .jar files only are needed: wicket-core, wicket-request, wicket-util, wicket-devutils. It also assumes that slf4j-jdk14 logging is needed by your web application. Adjust the files to be lownloaded/used if you require a different set of files. PROCEDURE Visit the Apache Wicket home web site to find out the latest version of Wicket (or subscribe to Nabble Wicket announcements and find out that way). If a new version of Wicket is to be used for your NetBeans project, then: · download: · apache-wicket-N.N.N.zip (for source files) · apache-wicket-N.N.N-bin.zip (for .jar files) · visit www.SLF4J.org to check for a new version of the SLF4J .jar files used by Wicket and your web application. If the latest version of Wicket is to be updated, then create a new NetBeans Wicket Ant library. This will require the creation of a bespoke .zip file. As a flexible guide only: lib files - Into a folder (such as C:\Program Files\Apache Software Foundation\Wicket\NetBeans library\libs) copy the files: · apache-wicket-N.N.N-bin\wicket-core-N.N.N.jar · apache-wicket-N.N.N-bin\wicket-request-N.N.N.jar · apache-wicket-N.N.N-bin\wicket-util-N.N.N.jar · apache-wicket-N.N.N-bin\wicket-devutils-N.N.N.jar · slf4j-api-N.N.N.jar and slf4j-jdkNN-N.N.N.jar. Under the NetBeans Wicket Ant library Classpath tag go all these new files. src files - Into the bespoke .jar file wicket-N.N.N-sources-NB.jar in a folder (such as C:\Program Files\Apache Software Foundation\Wicket\NetBeans library\sources) compress all files in: · apache-wicket-N.N.N\wicket-core\src\main\java · apache-wicket-N.N.N\wicket-request\src\main\java · apache-wicket-N.N.N\wicket-util\src\main\java · apache-wicket-N.N.N\wicket-devutils\src\main\java. Under the NetBeans Wicket Ant library Sources tag goes wicket-N.N.N-sources-NB.jar. apidocs files - Visit http://maven.org and do an advanced search for group ID “org.apache.wicket” and version “N.N.N”. Download the javadoc.jar files for the artifact IDs: · wicket-core · wicket-request · wicket-util · wicket-devutils of names of the form [Actifact ID]-N.N.N-javadoc.jar. Place these files into the a folder (such as C:\Program Files\Apache Software Foundation\Wicket\NetBeans library\docs). Adjust the new NetBeans Wicket Ant library to use the files copied/created in the 3 folders as set out above. Create and adjust your NetBeans project’s NetBeans libraries to use the new Ant library you have just created (and to stop using the superseded Ant library). If NetBeans cannot find classes whilst compiling, editing an Ant library by loading their files and/or folders anew may solve the problem. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Manual-procedure-to-update-Wicket-for-NetBeans-tp4654064p4654086.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Manual procedure to update Wicket for NetBeans
Hi Ian, Thanks for sharing ! May I ask you why you avoid Maven ? With Maven (and similar dependency management tools) I just change X.Y.Z to X.Y.Z+1 in one place and continue working without bothering with all these steps. On Thu, Nov 22, 2012 at 12:48 PM, Ian Marshall ianmarshall...@gmail.comwrote: Martin Grigorov-4 wrote Hi, Please paste it here. Isn't it just download the jars from Maven repos or from Apache Dist and put them in your project structure ? On Wed, Nov 21, 2012 at 4:49 PM, Ian Marshall lt; IanMarshall.UK@ gt;wrote: I develop my Wicket application using NetBeans and Ant (not Maven). ... -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com lt;http://jweekend.com/gt; Almost. I write a procedure to ensure that I do not forget anything. Perhaps I am over-complicating things and am unaware of a much simpler way to do this. Anyway, I copy my procedure below (edited for possible public consumption). UPDATING THE WICKET WEB FRAMEWORK WITHIN NETBEANS FOR ANT-BASED PROJECTS – PROCEDURE INTRODUCTION This procedure assumes that the following Wicket .jar files only are needed: wicket-core, wicket-request, wicket-util, wicket-devutils. It also assumes that slf4j-jdk14 logging is needed by your web application. Adjust the files to be lownloaded/used if you require a different set of files. PROCEDURE Visit the Apache Wicket home web site to find out the latest version of Wicket (or subscribe to Nabble Wicket announcements and find out that way). If a new version of Wicket is to be used for your NetBeans project, then: · download: · apache-wicket-N.N.N.zip (for source files) · apache-wicket-N.N.N-bin.zip (for .jar files) · visit www.SLF4J.org to check for a new version of the SLF4J .jar files used by Wicket and your web application. If the latest version of Wicket is to be updated, then create a new NetBeans Wicket Ant library. This will require the creation of a bespoke .zip file. As a flexible guide only: lib files - Into a folder (such as C:\Program Files\Apache Software Foundation\Wicket\NetBeans library\libs) copy the files: · apache-wicket-N.N.N-bin\wicket-core-N.N.N.jar · apache-wicket-N.N.N-bin\wicket-request-N.N.N.jar · apache-wicket-N.N.N-bin\wicket-util-N.N.N.jar · apache-wicket-N.N.N-bin\wicket-devutils-N.N.N.jar · slf4j-api-N.N.N.jar and slf4j-jdkNN-N.N.N.jar. Under the NetBeans Wicket Ant library Classpath tag go all these new files. src files - Into the bespoke .jar file wicket-N.N.N-sources-NB.jar in a folder (such as C:\Program Files\Apache Software Foundation\Wicket\NetBeans library\sources) compress all files in: · apache-wicket-N.N.N\wicket-core\src\main\java · apache-wicket-N.N.N\wicket-request\src\main\java · apache-wicket-N.N.N\wicket-util\src\main\java · apache-wicket-N.N.N\wicket-devutils\src\main\java. Under the NetBeans Wicket Ant library Sources tag goes wicket-N.N.N-sources-NB.jar. apidocs files - Visit http://maven.org and do an advanced search for group ID “org.apache.wicket” and version “N.N.N”. Download the javadoc.jar files for the artifact IDs: · wicket-core · wicket-request · wicket-util · wicket-devutils of names of the form [Actifact ID]-N.N.N-javadoc.jar. Place these files into the a folder (such as C:\Program Files\Apache Software Foundation\Wicket\NetBeans library\docs). Adjust the new NetBeans Wicket Ant library to use the files copied/created in the 3 folders as set out above. Create and adjust your NetBeans project’s NetBeans libraries to use the new Ant library you have just created (and to stop using the superseded Ant library). If NetBeans cannot find classes whilst compiling, editing an Ant library by loading their files and/or folders anew may solve the problem. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Manual-procedure-to-update-Wicket-for-NetBeans-tp4654064p4654086.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com http://jweekend.com/
Re: Manual procedure to update Wicket for NetBeans
Martin Grigorov-4 wrote Hi Ian, Thanks for sharing ! May I ask you why you avoid Maven ? With Maven (and similar dependency management tools) I just change X.Y.Z to X.Y.Z+1 in one place and continue working without bothering with all these steps. 1. The documentation for Google App Engine for Java (GAE/J) specifies certain Ant scripts for doing useful things such as application building and DataNucleus JDO datastore code enhancement, so I do not want to drop Ant. 2. I know almost nothing above Maven, except that this seems to be simple to use with little configuration required to obtain the .jar (and source?) files needed (and perhaps build an application too?). 3. I do not know if Maven and Ant are incompatible, although I feel that they are. To conclude, I feel that Maven is good and the modern, sensible way to go, but for now I'll stick to Ant, in order to avoid the possible requirement to change all my GAE/J Ant scripts to Maven things. I'm happy to be told that I am wrong in all this! I had to change my procedure for Wicket 6 to include the use of Maven.org, in order to obtain source code files which I could no longer find in the download mirrors. I shall be happy to update this procedure in the future to reflect future changes or improvements if you want me to (just let me know where it resides (if you want to use it)), even though I guess that Maven is more the future than Ant is. Ian -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Manual-procedure-to-update-Wicket-for-NetBeans-tp4654064p4654092.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Manual procedure to update Wicket for NetBeans
On Thu, Nov 22, 2012 at 3:29 PM, Ian Marshall ianmarshall...@gmail.comwrote: Martin Grigorov-4 wrote Hi Ian, Thanks for sharing ! May I ask you why you avoid Maven ? With Maven (and similar dependency management tools) I just change X.Y.Z to X.Y.Z+1 in one place and continue working without bothering with all these steps. 1. The documentation for Google App Engine for Java (GAE/J) specifies I see. Google doesn't like Maven. certain Ant scripts for doing useful things such as application building and DataNucleus JDO datastore code enhancement, so I do not want to drop Ant. 2. I know almost nothing above Maven, except that this seems to be simple to use with little configuration required to obtain the .jar (and source?) files needed (and perhaps build an application too?). 3. I do not know if Maven and Ant are incompatible, although I feel that they are. To conclude, I feel that Maven is good and the modern, sensible way to go, but for now I'll stick to Ant, in order to avoid the possible requirement to change all my GAE/J Ant scripts to Maven things. I'm happy to be told that I am wrong in all this! I had to change my procedure for Wicket 6 to include the use of Maven.org, in order to obtain source code files which I could no longer find in the download mirrors. I shall be happy to update this procedure in the future to reflect future changes or improvements if you want me to (just let me know where it resides (if you want to use it)), even though I guess that Maven is more the future than Ant is. Ian -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Manual-procedure-to-update-Wicket-for-NetBeans-tp4654064p4654092.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org You can check http://ant.apache.org/ivy/. It adds dependency management to Ant. -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com http://jweekend.com/
Re: Manual procedure to update Wicket for NetBeans
For your exact situation, I suppose the maven-gae-plugin (https://github.com/maven-gae-plugin/maven-gae-plugin ) will solve your problem. For other situations where there's no maven plugin to do what whas done in an ant task, there's a maven-antrun-plugin (http://maven.apache.org/plugins/maven-antrun-plugin/ ) which allows you to run ant task within the maven build process. Ian Marshall wrote: Martin Grigorov-4 wrote Hi Ian, Thanks for sharing ! May I ask you why you avoid Maven ? With Maven (and similar dependency management tools) I just change X.Y.Z to X.Y.Z+1 in one place and continue working without bothering with all these steps. 1. The documentation for Google App Engine for Java (GAE/J) specifies certain Ant scripts for doing useful things such as application building and DataNucleus JDO datastore code enhancement, so I do not want to drop Ant. 2. I know almost nothing above Maven, except that this seems to be simple to use with little configuration required to obtain the .jar (and source?) files needed (and perhaps build an application too?). 3. I do not know if Maven and Ant are incompatible, although I feel that they are. To conclude, I feel that Maven is good and the modern, sensible way to go, but for now I'll stick to Ant, in order to avoid the possible requirement to change all my GAE/J Ant scripts to Maven things. I'm happy to be told that I am wrong in all this! I had to change my procedure for Wicket 6 to include the use of Maven.org, in order to obtain source code files which I could no longer find in the download mirrors. I shall be happy to update this procedure in the future to reflect future changes or improvements if you want me to (just let me know where it resides (if you want to use it)), even though I guess that Maven is more the future than Ant is. Ian -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Manual-procedure-to-update-Wicket-for-NetBeans-tp4654064p4654092.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Manual procedure to update Wicket for NetBeans
Martin Grigorov-4 wrote [...] You can check http://ant.apache.org/ivy/. It adds dependency management to Ant. -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com lt;http://jweekend.com/gt; Thanks for the tip, Martin. I'll give Apache Ivy a look Ian -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Manual-procedure-to-update-Wicket-for-NetBeans-tp4654064p4654096.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Manual procedure to update Wicket for NetBeans
I develop my Wicket application using NetBeans and Ant (not Maven). I have a manual procedure, which I use whenever I update my IDE to a new version of Wicket (comprising downloading files and then creating a new NetBeans Ant library). I have recently amended this to cater for changes needed for Wicket 6. (I maintain this procedure in the form of a LibreOffice Writer document.) I am happy to show this procedure for review and possible subsequent inclusion in a sensible place in the Wiki (or wherever), if any Wicket developer so desires. Or I can simply paste it here. Ian Marshall -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Manual-procedure-to-update-Wicket-for-NetBeans-tp4654064.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Manual procedure to update Wicket for NetBeans
Hi, Please paste it here. Isn't it just download the jars from Maven repos or from Apache Dist and put them in your project structure ? On Wed, Nov 21, 2012 at 4:49 PM, Ian Marshall ianmarshall...@gmail.comwrote: I develop my Wicket application using NetBeans and Ant (not Maven). I have a manual procedure, which I use whenever I update my IDE to a new version of Wicket (comprising downloading files and then creating a new NetBeans Ant library). I have recently amended this to cater for changes needed for Wicket 6. (I maintain this procedure in the form of a LibreOffice Writer document.) I am happy to show this procedure for review and possible subsequent inclusion in a sensible place in the Wiki (or wherever), if any Wicket developer so desires. Or I can simply paste it here. Ian Marshall -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Manual-procedure-to-update-Wicket-for-NetBeans-tp4654064.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com http://jweekend.com/