sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From romb...@apache.org
Subject svn commit: r1597178 - in /sling/trunk/tooling/ide/eclipse-ui/src/org/apache/sling/ide/eclipse/ui/wizards: NewSlingContentProjectWizard.java res/folder.content.xml
Date Fri, 23 May 2014 20:48:12 GMT
Author: rombert
Date: Fri May 23 20:48:12 2014
New Revision: 1597178

URL: http://svn.apache.org/r1597178
Log:
NewSlingContentProjectWizard - make the /content node a sling:Folder, to
allow using more types of nodes with it.

Added:
    sling/trunk/tooling/ide/eclipse-ui/src/org/apache/sling/ide/eclipse/ui/wizards/res/folder.content.xml
  (with props)
Modified:
    sling/trunk/tooling/ide/eclipse-ui/src/org/apache/sling/ide/eclipse/ui/wizards/NewSlingContentProjectWizard.java

Modified: sling/trunk/tooling/ide/eclipse-ui/src/org/apache/sling/ide/eclipse/ui/wizards/NewSlingContentProjectWizard.java
URL: http://svn.apache.org/viewvc/sling/trunk/tooling/ide/eclipse-ui/src/org/apache/sling/ide/eclipse/ui/wizards/NewSlingContentProjectWizard.java?rev=1597178&r1=1597177&r2=1597178&view=diff
==============================================================================
--- sling/trunk/tooling/ide/eclipse-ui/src/org/apache/sling/ide/eclipse/ui/wizards/NewSlingContentProjectWizard.java
(original)
+++ sling/trunk/tooling/ide/eclipse-ui/src/org/apache/sling/ide/eclipse/ui/wizards/NewSlingContentProjectWizard.java
Fri May 23 20:48:12 2014
@@ -57,6 +57,8 @@ public class NewSlingContentProjectWizar
         ops.add(new CreateFolder(project, "jcr_root"));
 
         ops.add(new CreateFolder(project, "jcr_root/content"));
+        ops.add(new CreateFile(project, "jcr_root/content/.content.xml", getClass().getResourceAsStream(
+                "res/folder.content.xml")));
         ops.add(new CreateFolder(project, "jcr_root/content/example"));
         ops.add(new CreateFile(project, "jcr_root/content/example/.content.xml", getClass().getResourceAsStream(
                 "res/.content.xml")));

Added: sling/trunk/tooling/ide/eclipse-ui/src/org/apache/sling/ide/eclipse/ui/wizards/res/folder.content.xml
URL: http://svn.apache.org/viewvc/sling/trunk/tooling/ide/eclipse-ui/src/org/apache/sling/ide/eclipse/ui/wizards/res/folder.content.xml?rev=1597178&view=auto
==============================================================================
--- sling/trunk/tooling/ide/eclipse-ui/src/org/apache/sling/ide/eclipse/ui/wizards/res/folder.content.xml
(added)
+++ sling/trunk/tooling/ide/eclipse-ui/src/org/apache/sling/ide/eclipse/ui/wizards/res/folder.content.xml
Fri May 23 20:48:12 2014
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:vlt="http://www.day.com/jcr/vault/1.0"
xmlns:jcr="http://www.jcp.org/jcr/1.0"
+    jcr:primaryType="sling:Folder">
+</jcr:root>
\ No newline at end of file

Propchange: sling/trunk/tooling/ide/eclipse-ui/src/org/apache/sling/ide/eclipse/ui/wizards/res/folder.content.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: sling/trunk/tooling/ide/eclipse-ui/src/org/apache/sling/ide/eclipse/ui/wizards/res/folder.content.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml



Mime
View raw message