Add new attachment

Only authorized users are allowed to upload new attachments.

This page (revision-3) was last changed on 11-Aug-2016 14:45 by alessio.stalla@manydesigns.com

This page was created on 26-Jul-2016 17:48 by unknown

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 1 changed one line
Since Portofino 4.2.2, a new feature allows for a "development mode" that makes working with Portofino Maven-based projects even quicker.
Since Portofino 4.2.2, a new feature allows for a __"development mode"__ that makes working with Portofino Maven-based projects even quicker.
At line 7 changed one line
In Portofino 4.2.2, we added the possibility to store the Portofino app - pages, properties, model - outside the web application (.war). This is useful in production deployments to separately version and backup the app for example, but as it happens it is also useful while developing - because you can deploy to e.g. Tomcat but make Portofino point to your source directory for the app!
__In Portofino 4.2.2, we added the possibility to store the Portofino app - pages, properties, model - outside the web application (.war).__ This is useful in production deployments to separately version and backup the app for example, but as it happens it is also useful while developing - because you can deploy to e.g. Tomcat but make Portofino point to your source directory when accessing application files!
At line 11 changed one line
First, you need to enable resource filtering for web.xml (where the path to the app is configured) by adding a plugin to your app's pom.xml:
First, you need to enable resource filtering for web.xml (where the path to the app is configured) by configuring a Maven plugin in your app's pom.xml:
At line 41 changed one line
et voilĂ ! Edit stuff in your IDE and immediately see the changes in the live application!
et voilĂ ! Edit stuff in your IDE and immediately see the changes in the live application and vice-versa!
At line 43 changed one line
This simple example is not the whole story - you'll want to enable this configuration only during development, while keeping production and other environments clean. Maven profiles can help in that regard. However, this is a good start that you can further adapt to your needs.
This simple example is not the whole story - you'll want to enable this configuration only during development, while keeping production and other environments clean. The .war built with this configuration, in fact, will only work on your machine, because it will point to the absolute path where you're storing your app's source code.
Maven profiles are a possible solution. A separate dev branch in your VCS tree is another option. Anyway, this is a good start that you can further adapt to your needs.
Version Date Modified Size Author Changes ... Change note
3 11-Aug-2016 14:45 2.935 kB alessio.stalla@manydesigns.com to previous
2 26-Jul-2016 17:49 2.651 kB alessio.stalla@manydesigns.com to previous | to last
1 26-Jul-2016 17:48 2.647 kB unknown to last
« This page (revision-3) was last changed on 11-Aug-2016 14:45 by alessio.stalla@manydesigns.com