Hi, This was caused due to an incorrect Synapse version that is set on carbon core. Earlier it has defined the "synapse.version" property as 1.4.0-SNAPSHOT. But such a version no longer exists, and the current version in Synapse trunk is "2.0.0-SNAPSHOT". So I've change the version of Synapse in carbon-core to "2.0.0-SNAPSHOT". The data services compilation error was occurring, because you had an older synapse build of 1.4.0-SNAPSHOT. The class "DataSourceHelper" is there in Synapse, which can be found in Carbon 3.0.0 branch. But in "2.0.0-SNAPSHOT" they've renamed that class to "DataSourceRepositoryHolder". So I also changed the data services code to work with the new Synapse version.
Also, the "dependancies" directory in carbon trunk refers to the dependancies in the 3.0.0 branch, this was pointed out by Nuwan earlier, but this is not yet fixed. So for now you will need to check out Synapse trunk [1] separately and build it and then build carbon-core. [1] http://svn.apache.org/repos/asf/synapse/trunk/java/ Cheers, Anjana. On Mon, May 31, 2010 at 7:56 PM, Samisa Abeysinghe <[email protected]> wrote: > [ERROR] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Compilation failure > /home/carbon/stratos/carbon/components/data-services/org.wso2.carbon.dataservices.core/src/main/java/org/wso2/carbon/dataservices/core/description/config/CarbonDataSourceConfig.java:[28,45] > cannot find symbol > symbol : class DataSourceHelper > location: package org.apache.synapse.commons.datasource > /home/carbon/stratos/carbon/components/data-services/org.wso2.carbon.dataservices.core/src/main/java/org/wso2/carbon/dataservices/core/description/config/CarbonDataSourceConfig.java:[71,16] > cannot find symbol > symbol : class DataSourceHelper > location: class > org.wso2.carbon.dataservices.core.description.config.CarbonDataSourceConfig > /home/carbon/stratos/carbon/components/data-services/org.wso2.carbon.dataservices.core/src/main/java/org/wso2/carbon/dataservices/core/description/config/CarbonDataSourceConfig.java:[71,52] > cannot find symbol > symbol : variable DataSourceHelper > location: class > org.wso2.carbon.dataservices.core.description.config.CarbonDataSourceConfig > > Samisa Abeysinghe > VP Engineering > WSO2 Inc. > http://wso2.com > http://wso2.org > > _______________________________________________ > Carbon-dev mailing list > [email protected] > https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > > -- Anjana Fernando Software Engineer WSO2, Inc.; http://wso2.com lean.enterprise.middleware _______________________________________________ Carbon-dev mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
