Joined: May 12, 2013
Post Count: 1545
Status:
Offline
Re: Need to deploy on Tomcat serer
.. online System for the Electricians to design Lights, Sockets and A/C systems for a selected Floor Plan. The application reads the PDF files and can detect the Floor Plans.
Sounds interesting. You have probably noticed that the question of electric symbols appear from time to time: e.g. 5531: 2D Symbols and the 5416: Schneider project. If your work results in something of interest, it would be great if you would post something about it. And good luck. ok
France
Joined: Nov 7, 2005
Post Count: 9426
Status:
Offline
Re: Need to deploy on Tomcat serer
Thanks for giving details about your goals.
If you want to add a button to the applet toolbar, you should override createHomeController method in the subclass of AppletApplication you started before. Once you retrieved super implementation, inspire yourself of the (not so cleaned) existing implementation to retrieve the toolbar and add a button to it.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
Joined: Dec 24, 2014
Post Count: 28
Status:
Offline
Re: Need to deploy on Tomcat serer
Hi Pyubaret
I enhanced my application to detect the lines of the Floor plan which is in the grid. I used Boof CV(http://boofcv.org/index.php?title=Main_Page) libraries to do that. For the moment, it doesn't support all the floor plans. I'm improving the my line detecting algorithm.
But when I deployed the application on server(as a web application) with new feature, it says BoofCV libraries can't be found. I added BoofCV libraries under "otherLibraries" Tag in build.xml file. It compiles perfectly, but when it runs as a web application , it can't load added Boof CV libs. I would be thankful , if you tell me if there is another way to add libraries.
France
Joined: Nov 7, 2005
Post Count: 9426
Status:
Offline
Re: Need to deploy on Tomcat serer
Manage the new library as the other ones of Sweet Home 3D. Llook how batik-svgpathparser-1.7.jar is handled for example, and keep in mind that in applets environment you'll have to update JNLP file as well as applet HTML code.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator