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
public void testMethod() { System.out.println("Hi there.. I am the test method.. "); is3DViewClicked = true; View view = getHomeController3D().getView();
}
Once I press the button, the method is called. But I can't see the 3D view. Could you tell me how to view 3D panel ?
France
Joined: Nov 7, 2005
Post Count: 9426
Status:
Offline
Re: Need to deploy on Tomcat serer
If you didn't create the 3D view as requested previously, don't be astonished that you can't manage it later!
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
Joined: Dec 24, 2014
Post Count: 28
Status:
Offline
Re: Need to deploy on Tomcat serer
The application which I developed using Sweet Home, is capable of detecting floor plan and drawing walls automatically. So If 3D view is enabled, system becomes slow.
Therefore I removed 3D view functionality and wanted to add a button to add 3D view functionality.