Indeed, I didn't take the easier way. I continue my work to solve tests for the next step.

Thanks Jacopo
Nicolas

Le 04/04/2013 05:48, Jacopo Cappellato a écrit :
Hi Nicolas,

the only specialpurpose component that is still required is "ecommerce" 
(because it contains data that is used by tests): please find below the patch that I am 
using to skip them.
Sooner or later we should also remove the dependency on ecommerce, but for now 
it is less urgent because we are considering, for the upcoming branch 13.04, to 
include the ecommerce in the branch and leave the others out.

Kind regards,

Jacopo


Index: specialpurpose/build.xml
===================================================================
--- specialpurpose/build.xml    (revision 1464006)
+++ specialpurpose/build.xml    (working copy)
@@ -20,6 +20,7 @@
<project name="OFBiz Special Purpose Applications Build" default="build" basedir=".">
      <import file="../macros.xml"/>
+    <!--
      <filelist id="specialpurpose-builds" dir="."
          files="
          ecommerce/build.xml,
@@ -39,6 +40,9 @@
          birt/build.xml,
          example/build.xml
      "/>
+-->
+    <filelist id="specialpurpose-builds" dir="."
+              files="ecommerce/build.xml"/>
<!-- ================================================================== -->
      <!-- Removes all created files and directories                          
-->
Index: specialpurpose/ebay/ofbiz-component.xml
===================================================================
--- specialpurpose/ebay/ofbiz-component.xml     (revision 1464006)
+++ specialpurpose/ebay/ofbiz-component.xml     (working copy)
@@ -18,7 +18,7 @@
  under the License.
  -->
-<ofbiz-component name="ebay" enabled="true"
+<ofbiz-component name="ebay" enabled="false"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
          
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/ofbiz-component.xsd";>
      <resource-loader name="main" type="component"/>
Index: specialpurpose/ldap/ofbiz-component.xml
===================================================================
--- specialpurpose/ldap/ofbiz-component.xml     (revision 1464006)
+++ specialpurpose/ldap/ofbiz-component.xml     (working copy)
@@ -18,7 +18,7 @@
  under the License.
  -->
-<ofbiz-component name="ldap" enabled="true"
+<ofbiz-component name="ldap" enabled="false"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
          
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/ofbiz-component.xsd";>
      <!-- define resource loaders; most common is to use the component resource 
loader -->
Index: specialpurpose/hhfacility/ofbiz-component.xml
===================================================================
--- specialpurpose/hhfacility/ofbiz-component.xml       (revision 1464006)
+++ specialpurpose/hhfacility/ofbiz-component.xml       (working copy)
@@ -18,7 +18,7 @@
  under the License.
  -->
-<ofbiz-component name="hhfacility" enabled="true"
+<ofbiz-component name="hhfacility" enabled="false"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
          
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/ofbiz-component.xsd";>
      <resource-loader name="main" type="component"/>
Index: specialpurpose/scrum/ofbiz-component.xml
===================================================================
--- specialpurpose/scrum/ofbiz-component.xml    (revision 1464006)
+++ specialpurpose/scrum/ofbiz-component.xml    (working copy)
@@ -17,7 +17,7 @@
  specific language governing permissions and limitations
  under the License.
  -->
-<ofbiz-component name="scrum" enabled="true"
+<ofbiz-component name="scrum" enabled="false"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
          
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/ofbiz-component.xsd";>
      <!-- define resource loaders; most common is to use the component resource 
loader -->
Index: specialpurpose/example/ofbiz-component.xml
===================================================================
--- specialpurpose/example/ofbiz-component.xml  (revision 1464006)
+++ specialpurpose/example/ofbiz-component.xml  (working copy)
@@ -18,7 +18,7 @@
  under the License.
  -->
-<ofbiz-component name="example" enabled="true"
+<ofbiz-component name="example" enabled="false"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
          
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/ofbiz-component.xsd";>
      <!-- define resource loaders; most common is to use the component resource 
loader -->
Index: specialpurpose/ofbizwebsite/ofbiz-component.xml
===================================================================
--- specialpurpose/ofbizwebsite/ofbiz-component.xml     (revision 1464006)
+++ specialpurpose/ofbizwebsite/ofbiz-component.xml     (working copy)
@@ -18,7 +18,7 @@
      under the License.
  -->
-<ofbiz-component name="ofbiz" enabled="true"
+<ofbiz-component name="ofbiz" enabled="false"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
      
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/ofbiz-component.xsd";>
      <resource-loader name="main" type="component"/>
Index: specialpurpose/ebaystore/ofbiz-component.xml
===================================================================
--- specialpurpose/ebaystore/ofbiz-component.xml        (revision 1464006)
+++ specialpurpose/ebaystore/ofbiz-component.xml        (working copy)
@@ -18,7 +18,7 @@
  under the License.
  -->
-<ofbiz-component name="ebaystore" enabled="true"
+<ofbiz-component name="ebaystore" enabled="false"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
          
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/ofbiz-component.xsd";>
      <resource-loader name="main" type="component"/>
Index: specialpurpose/webpos/ofbiz-component.xml
===================================================================
--- specialpurpose/webpos/ofbiz-component.xml   (revision 1464006)
+++ specialpurpose/webpos/ofbiz-component.xml   (working copy)
@@ -18,7 +18,7 @@
  under the License.
  -->
-<ofbiz-component name="webpos" enabled="true"
+<ofbiz-component name="webpos" enabled="false"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
          
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/ofbiz-component.xsd";>
      <resource-loader name="main" type="component"/>
Index: specialpurpose/birt/ofbiz-component.xml
===================================================================
--- specialpurpose/birt/ofbiz-component.xml     (revision 1464006)
+++ specialpurpose/birt/ofbiz-component.xml     (working copy)
@@ -18,7 +18,7 @@
  under the License.
  -->
-<ofbiz-component name="birt" enabled="true"
+<ofbiz-component name="birt" enabled="false"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
          
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/ofbiz-component.xsd";>
      <resource-loader name="main" type="component"/>
Index: specialpurpose/pos/ofbiz-component.xml
===================================================================
--- specialpurpose/pos/ofbiz-component.xml      (revision 1464006)
+++ specialpurpose/pos/ofbiz-component.xml      (working copy)
@@ -18,7 +18,7 @@
  under the License.
  -->
-<ofbiz-component name="pos" enabled="true"
+<ofbiz-component name="pos" enabled="false"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
          
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/ofbiz-component.xsd";>
      <resource-loader name="main" type="component"/>
Index: specialpurpose/googlecheckout/ofbiz-component.xml
===================================================================
--- specialpurpose/googlecheckout/ofbiz-component.xml   (revision 1464006)
+++ specialpurpose/googlecheckout/ofbiz-component.xml   (working copy)
@@ -18,7 +18,7 @@
      under the License.
  -->
-<ofbiz-component name="googlecheckout" enabled="true"
+<ofbiz-component name="googlecheckout" enabled="false"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
          
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/ofbiz-component.xsd";>
      <resource-loader name="main" type="component"/>
Index: specialpurpose/oagis/ofbiz-component.xml
===================================================================
--- specialpurpose/oagis/ofbiz-component.xml    (revision 1464006)
+++ specialpurpose/oagis/ofbiz-component.xml    (working copy)
@@ -18,7 +18,7 @@
  under the License.
  -->
-<ofbiz-component name="oagis" enabled="true"
+<ofbiz-component name="oagis" enabled="false"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
          
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/ofbiz-component.xsd";>
      <resource-loader name="main" type="component"/>
Index: specialpurpose/googlebase/ofbiz-component.xml
===================================================================
--- specialpurpose/googlebase/ofbiz-component.xml       (revision 1464006)
+++ specialpurpose/googlebase/ofbiz-component.xml       (working copy)
@@ -18,7 +18,7 @@
  under the License.
  -->
-<ofbiz-component name="googlebase" enabled="true"
+<ofbiz-component name="googlebase" enabled="false"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
          
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/ofbiz-component.xsd";>
      <resource-loader name="main" type="component"/>
Index: specialpurpose/cmssite/ofbiz-component.xml
===================================================================
--- specialpurpose/cmssite/ofbiz-component.xml  (revision 1464006)
+++ specialpurpose/cmssite/ofbiz-component.xml  (working copy)
@@ -18,7 +18,7 @@
  under the License.
  -->
-<ofbiz-component name="cmssite" enabled="true"
+<ofbiz-component name="cmssite" enabled="false"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
          
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/ofbiz-component.xsd";>
      <resource-loader name="main" type="component"/>
Index: specialpurpose/myportal/ofbiz-component.xml
===================================================================
--- specialpurpose/myportal/ofbiz-component.xml (revision 1464006)
+++ specialpurpose/myportal/ofbiz-component.xml (working copy)
@@ -18,7 +18,7 @@
      under the License.
  -->
-<ofbiz-component name="myportal" enabled="true"
+<ofbiz-component name="myportal" enabled="false"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
      
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/ofbiz-component.xsd";>
      <resource-loader name="main" type="component"/>
Index: specialpurpose/assetmaint/ofbiz-component.xml
===================================================================
--- specialpurpose/assetmaint/ofbiz-component.xml       (revision 1464006)
+++ specialpurpose/assetmaint/ofbiz-component.xml       (working copy)
@@ -18,7 +18,7 @@
      under the License.
  -->
-<ofbiz-component name="assetmaint" enabled="true"
+<ofbiz-component name="assetmaint" enabled="false"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
          
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/ofbiz-component.xsd";>
      <!-- define resource loaders; most common is to use the component resource 
loader -->
Index: specialpurpose/exampleext/ofbiz-component.xml
===================================================================
--- specialpurpose/exampleext/ofbiz-component.xml       (revision 1464006)
+++ specialpurpose/exampleext/ofbiz-component.xml       (working copy)
@@ -18,7 +18,7 @@
  under the License.
  -->
-<ofbiz-component name="exampleext" enabled="true"
+<ofbiz-component name="exampleext" enabled="false"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
          
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/ofbiz-component.xsd";>
      <resource-loader name="main" type="component"/>
Index: specialpurpose/projectmgr/ofbiz-component.xml
===================================================================
--- specialpurpose/projectmgr/ofbiz-component.xml       (revision 1464006)
+++ specialpurpose/projectmgr/ofbiz-component.xml       (working copy)
@@ -18,7 +18,7 @@
  under the License.
  -->
-<ofbiz-component name="projectmgr" enabled="true"
+<ofbiz-component name="projectmgr" enabled="false"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
          
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/ofbiz-component.xsd";>
      <resource-loader name="main" type="component"/>
Index: specialpurpose/crowd/ofbiz-component.xml
===================================================================
--- specialpurpose/crowd/ofbiz-component.xml    (revision 1464006)
+++ specialpurpose/crowd/ofbiz-component.xml    (working copy)
@@ -18,7 +18,7 @@
  under the License.
  -->
-<ofbiz-component name="crowd" enabled="true"
+<ofbiz-component name="crowd" enabled="false"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
          
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/ofbiz-component.xsd";>
      <resource-loader name="main" type="component"/>


On Apr 3, 2013, at 10:45 PM, Nicolas Malin <[email protected]> 
wrote:

Hi jacopo,

Just to understand, what you have been fixed ?

I try this process :
$ svn up
Actualisé à la révision 1464192
$ rm -fr specialpurpose
$ ant clean-all load-demo run-tests

and I have some errors :)
You can see it on : http://lila.librenberry.net/html/

Sure I'm a on the wrong way !
Nicolas

Le 29/03/2013 08:35, Jacopo Cappellato a écrit :
this is now fixed (except for the ecommerce component) in rev. 1462421

Jacopo


On Mar 28, 2013, at 7:04 PM, Jacopo Cappellato 
<[email protected]> wrote:

I am going to commit a fix for this soon, I am working on it right now.

Jacopo

On Mar 28, 2013, at 6:43 PM, Nicolas Malin <[email protected]> 
wrote:

Le 22/03/2013 17:19, Jacopo Cappellato a écrit :
Of course we can still decide to issue a release of "specialpurpose" components 
separately.
I worked on it, unit tests failed because specialpurpose components load some 
data needing. I continued the investigation but by lack of time I didn't solve 
the problem.

I hope good,

Nicolas

--
Nicolas MALIN
Consultant
Tél : 06.17.66.40.06
Site projet : http://www.neogia.org/
-------
Société LibrenBerry
Tél : 02.48.02.56.12
Site : http://www.librenberry.net/


--
Nicolas MALIN
Consultant
Tél : 06.17.66.40.06
Site projet : http://www.neogia.org/
-------
Société LibrenBerry
Tél : 02.48.02.56.12
Site : http://www.librenberry.net/



--
Nicolas MALIN
Consultant
Tél : 06.17.66.40.06
Site projet : http://www.neogia.org/
-------
Société LibrenBerry
Tél : 02.48.02.56.12
Site : http://www.librenberry.net/

Reply via email to