plugbee / dslforge

A generator of domain-specific language (DSL) editors for web applications and cloud IDEs.
78 stars 21 forks source link

Cannot customize the workspace root path easily #15

Closed amlajmi closed 8 years ago

amlajmi commented 8 years ago

Changing the path of the workspace in org.dslforge.workspace/META-INF/persistence.xml is complex and error prone:

  1. Users need to import the plugin from the target platform and change persistence.xml
  2. The war build needs to be manually updated to include the changed workspace plugin
amlajmi commented 8 years ago

An extension point has been introduced, see fc73380309ac80e3c5824e8bc5e3ad8b3db5f812. To change the workspace root path, contribute to the org.dslforge.workspace.configuration extension point, and specify the path attribute: e.g. /var/tomcat/workspace (linux) or D:/www/workspace (windows)

amlajmi commented 8 years ago

The workspace configuration extension point name has changed as the extension point definition is now extracted into a separate .config plugin, it should be org.dslforge.workspace.config.configuration