Weceem

Allow developers to change the name of the default space template zip loaded when creating a new space

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 1.0-RC1
  • Component/s: None
  • Labels:
    None
  • Request Controller:
    Please Select
  • External Supervisor:
    Please select
  • Executing Programmer:
    Please select

Description

It would be fine if the initial import bundle could be configurable in order to get the proper content tree for a preexistent grails project in every application run in developement mode, when working with hsqldb in memory, for example.

Issue Links

Activity

Hide
Marc Palmer added a comment - 08/Nov/10 5:07 PM

Several users want this

Show
Marc Palmer added a comment - 08/Nov/10 5:07 PM Several users want this
Hide
Chad Stansbury added a comment - 08/Nov/10 7:51 PM - edited

[This is a currently viable workaround - a real fix will come soon]

The solution (as discussed here: http://forums.jcatalog.com/forums/posts/list/150.page#10127) appears to be relatively straightforward. All you need to do is:

1. Export your space's content and rename the resulting zip file to "default-space-template.zip"
2. Create the "org.weceem.resources" package in your project's src/groovy folder
3. Place the default-space-template.zip into the newly created package

This will override the default-space-template.zip file contained in the plugin's package of the same name, and will result in your space becoming the "default" space whenever your development database is (re)created.

Show
Chad Stansbury added a comment - 08/Nov/10 7:51 PM - edited [This is a currently viable workaround - a real fix will come soon] The solution (as discussed here: http://forums.jcatalog.com/forums/posts/list/150.page#10127) appears to be relatively straightforward. All you need to do is: 1. Export your space's content and rename the resulting zip file to "default-space-template.zip" 2. Create the "org.weceem.resources" package in your project's src/groovy folder 3. Place the default-space-template.zip into the newly created package This will override the default-space-template.zip file contained in the plugin's package of the same name, and will result in your space becoming the "default" space whenever your development database is (re)created.

People

Vote (0)
Watch (0)

Dates

  • Created:
    22/Jan/10 12:46 PM
    Updated:
    28/Mar/11 4:22 PM
    Resolved:
    28/Mar/11 4:21 PM