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 <[email protected]>wrote: > 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 < > > > IanMarshall.UK@ > > > >wrote: > > > >> I develop my Wicket application using NetBeans and Ant (not Maven). > >> ... > > > > > > -- > > Martin Grigorov > > jWeekend > > Training, Consulting, Development > > http://jWeekend.com <http://jweekend.com/> > > 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: [email protected] > For additional commands, e-mail: [email protected] > > -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com <http://jweekend.com/>
