You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Andrew Savory (JIRA)" <ji...@apache.org> on 2013/09/24 22:37:03 UTC

[jira] [Updated] (SLING-3107) initial-content archetype does not reflect current practices

     [ https://issues.apache.org/jira/browse/SLING-3107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Savory updated SLING-3107:
---------------------------------

    Attachment: SLING-3107.diff

This patch attempts to rectify some of the main issues with the archetype:

- move SLING-INF to SLING-CONTENT to match e.g. slingbucks sample
- switches from xml to json content
- creates an apps directory and a subdirectory based on the artifactId

This patch does not yet:
- provide a sample component for page rendering (for some reason, mvn refuses to copy html.esp into new projects)
                
> initial-content archetype does not reflect current practices
> ------------------------------------------------------------
>
>                 Key: SLING-3107
>                 URL: https://issues.apache.org/jira/browse/SLING-3107
>             Project: Sling
>          Issue Type: Bug
>          Components: Maven Plugins and Archetypes
>    Affects Versions: Initial Content Archetype 1.0.2
>            Reporter: Andrew Savory
>            Priority: Minor
>         Attachments: SLING-3107.diff
>
>
> The initial content archetype has a number of deficiencies:
> - it uses xml rather than the more modern json format for content
> - the layout of initial projects doesn't match the most recent sample apps

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Re: [jira] [Updated] (SLING-3107) initial-content archetype does not reflect current practices

Posted by Andrew Savory <as...@apache.org>.
Hi,

There's a few issues with this patch - not least that patch doesn't seem to
like the svn mv on directories.

I also need to figure out how to copy files into a directory that has been
created from a property in the POM.

Anyone with maven experience is welcome to help ;-)


On 24 September 2013 21:37, Andrew Savory (JIRA) <ji...@apache.org> wrote:

>
>      [
> https://issues.apache.org/jira/browse/SLING-3107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel]
>
> Andrew Savory updated SLING-3107:
> ---------------------------------
>
>>
>>     Attachment: SLING-3107.diff
>
> This patch attempts to rectify some of the main issues with the archetype:
>

Thanks

Andrew.
--
asavory@apache.org / contact@andrewsavory.com
http://www.andrewsavory.com/