Friday, December 29, 2017

Updating Book for New Edition

I am using SVN with Netbeans to store the contents of the book.

To avoid the issue with the project files being added to the repo, I have added the repo source files to a working directory and created a Netbeans project in a different folder, pointing the sources of the project to the working directory files.

I avoid using the NetBeans SVN and use a separate program. On the Mac I have used svnX, but it has problems with the newer OS. I am trying SmartSVN 9.2. I have a 31 day free, professional trial before reverting to a simple, free version.

I stored the source for the images in a separate repo. The branch only has the final version of each image.

The ROOT servlet on the website has an index. Controller that intercepts book and translates to the correct edition of the book.

I use an Index controller to access the chapters.

When setting up project on new computer:
  1. checkout repo
  2. create netbeans project from existing sources
  3. allow ssi in web.xml
  4. allow listings in web.xml
  5. edit tomcat-users 
  6. set context as privileged
One of the projects is a Maven project. After checking out the repo, download dependencies.






Followers