Hi all,

I think I have put the wrong repo link. Try the link [1] as  Kasung has
suggested.


Regards,
Aruna



On Tue, Jul 29, 2014 at 12:56 PM, Kasun Gajasinghe <[email protected]> wrote:

> Hi,
>
> Not sure why it suggests you to build orbit trunk. If you need to build
> Carbon 4.2.0, then you should build Orbit 4.2.0 branch [1]
>
> [1] https://svn.wso2.org/repos/wso2/carbon/orbit/branches/4.2.0
>
>
> On Tue, Jul 29, 2014 at 12:45 PM, Chamila De Alwis <[email protected]>
> wrote:
>
>> Hi Kasun,
>>
>> I checked out the orbit bundles from the SVN repository[1]. I'm following
>> this tutorial[2].
>>
>> And here is the folder structure I have.
>>
>> .
>> ├── kernel
>> │   └── 4.2.0
>> │       ├── core
>> │       ├── dependencies
>> │       ├── distribution
>> │       ├── features
>> │       ├── parent
>> │       ├── patches
>> │       ├── samples
>> │       ├── service-packs
>> │       └── service-stubs
>> ├── orbit
>> │   └── trunk
>> │       ├── cassandra-jdbc
>> │       ├── cglib
>> │       ├── cors-filter
>> │       ├── hazelcast
>> │       ├── httpcore
>> │       ├── java-property-utils
>> │       ├── jdbc-pool
>> │       ├── js
>> │       ├── jstl
>> │       ├── poi
>> │       ├── poi-ooxml
>> │       ├── poi-scratchpad
>> │       ├── rabbit-mq
>> │       ├── saxon
>> │       ├── spring-framework
>> │       ├── tribes
>> │       └── wadl-core
>> └── platform
>>     └── turing
>>         ├── build
>>         ├── components
>>         ├── dependencies
>>         ├── features
>>         ├── parent
>>         ├── platform-integration
>>         ├── product-releases
>>         ├── products
>>         ├── samples
>>         └── service-stubs
>>
>> [1] - https://svn.wso2.org/repos/wso2/carbon/orbit/trunk/
>> [2] - http://java.dzone.com/articles/how-build-wso2-carbon-420
>>
>>
>>
>> On Tue, Jul 29, 2014 at 12:31 PM, Kasun Gajasinghe <[email protected]>
>> wrote:
>>
>>> Hi Chamila,
>>>
>>> What's the svn location of this jdbc-pool bundle? Your folder structure
>>> doesn't look like the standard structure we have. The parent of this orbit
>>> bundle should rather be the orbit parent.
>>>
>>> KasunG
>>>
>>>
>>> On Tue, Jul 29, 2014 at 11:34 AM, Chamila De Alwis <[email protected]>
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> I was trying to build carbon with the following folder structure.
>>>>
>>>> .
>>>> ├── kernel
>>>> │   └── 4.2.0
>>>> ├── orbit
>>>> │   └── trunk
>>>> └── platform
>>>>     └── turing
>>>>
>>>> However when a build was started on orbit/trunk the following error
>>>> occurred.
>>>>
>>>> [ERROR] The build could not read 1 project -> [Help 1]
>>>> [ERROR]
>>>> [ERROR]   The project
>>>> org.apache.tomcat.wso2:jdbc-pool:${jdbc.pool.version}.wso2v1
>>>> (/home/chamilad/dev/source/carbon/orbit/trunk/jdbc-pool/pom.xml) has 1 
>>>> error
>>>> [ERROR]     Non-resolvable parent POM: Could not find artifact
>>>> org.wso2.carbon:carbon-dependents:pom:4.0.0 in central (
>>>> http://repo.maven.apache.org/maven2) and 'parent.relativePath' points
>>>> at wrong local POM @ line 22, column 13 -> [Help 2]
>>>> [ERROR]
>>>>
>>>>
>>>> I was able to fix this by changing the relativePath to the
>>>> carbon-dependents pom.
>>>>
>>>>
>>>> Index: jdbc-pool/pom.xml
>>>> ===================================================================
>>>> --- jdbc-pool/pom.xml    (revision 206122)
>>>> +++ jdbc-pool/pom.xml    (working copy)
>>>> @@ -22,8 +22,8 @@
>>>>      <parent>
>>>>          <groupId>org.wso2.carbon</groupId>
>>>>          <artifactId>carbon-dependents</artifactId>
>>>> -        <version>4.0.0</version>
>>>> -    <relativePath>../../../pom.xml</relativePath>
>>>> +        <version>4.2.0</version>
>>>> +
>>>> <relativePath>../../../platform/turing/dependencies/pom.xml</relativePath>
>>>>     </parent>
>>>>
>>>>      <modelVersion>4.0.0</modelVersion>
>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> Regards,
>>>> Chamila de Alwis
>>>> Software Engineer | WSO2 | +94772207163
>>>> Blog: code.chamiladealwis.com
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Dev mailing list
>>>> [email protected]
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>>
>>> *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
>>> email: kasung AT spamfree wso2.com
>>> linked-in: http://lk.linkedin.com/in/gajasinghe
>>> blog: http://kasunbg.org
>>>
>>>
>>>
>>
>>
>>
>> --
>>
>> Regards,
>> Chamila de Alwis
>> Software Engineer | WSO2 | +94772207163
>> Blog: code.chamiladealwis.com
>>
>>
>>
>
>
> --
>
> *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
> email: kasung AT spamfree wso2.com
> linked-in: http://lk.linkedin.com/in/gajasinghe
> blog: http://kasunbg.org
>
>
>



-- 

*Aruna Sujith Karunarathna* | Software Engineer
WSO2, Inc | lean. enterprise. middleware.
#20, Palm Grove, Colombo 03, Sri Lanka
Mobile: +94 71 9040362 | Work: +94 112145345
Email: [email protected] | Web: www.wso2.com
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to