svn commit: r1350840 - in /ofbiz/trunk: build.xml framework/security/data/SecurityData.xml framework/security/data/SecuritySeedData.xml framework/security/ofbiz-component.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1350840 - in /ofbiz/trunk: build.xml framework/security/data/SecurityData.xml framework/security/data/SecuritySeedData.xml framework/security/ofbiz-component.xml

hansbak-2
Author: hansbak
Date: Sat Jun 16 02:32:04 2012
New Revision: 1350840

URL: http://svn.apache.org/viewvc?rev=1350840&view=rev
Log:
Some security data is really seed data, added informational messages to indicate security data is not loaded when selected seed

Added:
    ofbiz/trunk/framework/security/data/SecuritySeedData.xml
      - copied unchanged from r1350827, ofbiz/trunk/framework/security/data/SecurityData.xml
Removed:
    ofbiz/trunk/framework/security/data/SecurityData.xml
Modified:
    ofbiz/trunk/build.xml
    ofbiz/trunk/framework/security/ofbiz-component.xml

Modified: ofbiz/trunk/build.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/build.xml?rev=1350840&r1=1350839&r2=1350840&view=diff
==============================================================================
--- ofbiz/trunk/build.xml (original)
+++ ofbiz/trunk/build.xml Sat Jun 16 02:32:04 2012
@@ -473,6 +473,7 @@ under the License.
             <jvmarg value="${memory.maxpermsize.param}"/>
             <arg value="install"/>
             <arg value="readers=seed"/>
+         <echo message="Please note that security data is not loaded with this action, so all components are not accessible, either load security data for a specific component or for all components with: ./ant load-readers -Ddata-readers=security"/>
         </java>
     </target>
     <target name="load-extseed" depends="build"
@@ -483,6 +484,7 @@ under the License.
             <jvmarg value="${memory.maxpermsize.param}"/>
             <arg value="install"/>
             <arg value="readers=seed,seed-initial,ext"/>
+            <echo message="Please note that security data is not loaded with this action, so all components are not accessible, either load security data for a specific component or for all components with: ./ant load-readers -Ddata-readers=security"/>
         </java>
     </target>
     <target name="load-exttest" depends="build"

Modified: ofbiz/trunk/framework/security/ofbiz-component.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/security/ofbiz-component.xml?rev=1350840&r1=1350839&r2=1350840&view=diff
==============================================================================
--- ofbiz/trunk/framework/security/ofbiz-component.xml (original)
+++ ofbiz/trunk/framework/security/ofbiz-component.xml Sat Jun 16 02:32:04 2012
@@ -26,7 +26,7 @@ under the License.
     <classpath type="dir" location="dtd"/>
     <classpath type="jar" location="build/lib/*"/>
     <entity-resource type="model" reader-name="main" loader="main" location="entitydef/entitymodel.xml"/>
-    <entity-resource type="data" reader-name="security" loader="main" location="data/SecurityData.xml"/>
+    <entity-resource type="data" reader-name="seed" loader="main" location="data/SecuritySeedData.xml"/>
     <!-- NOTE: comment this line out to ensure no resetting of passwords -->
     <entity-resource type="data" reader-name="demo" loader="main" location="data/PasswordSecurityData.xml"/>
     <entity-resource type="data" reader-name="demo" loader="main" location="data/SecurityDemoData.xml"/>