On Sat, Jun 18, 2011 at 11:47 PM, Afkham Azeez <[email protected]> wrote:

>
>
> On Sat, Jun 18, 2011 at 11:40 PM, Kathiravelu Pradeeban <
> [email protected]> wrote:
>
>> Hi Lalaji/Nuwan,
>> I took an svn up from the 3.2.0 branch and started building from the
>> carbon root directory of 3.2.0 this evening, and it fails giving the
>> below exception.
>>
>> I checked
>> 3.2.0/components/dashboard/org.wso2.carbon.dashboard.gadgetframework.ui
>> and noticed that there is no 3.2.1 actually, while all the other
>> components from dashboard have the 3.2.1. So I temporarily made my
>> local 3.2.0 build working by the below change.
>>
>> Can you pls have a look and make any necessary fix?
>>
>> pradeeban@pradeeban:~/trunk/stratos/3.2.0/components/dashboard$ svn diff
>> Index: pom.xml
>> ===================================================================
>> --- pom.xml     (revision 107883)
>> +++ pom.xml     (working copy)
>> @@ -224,7 +224,7 @@
>>
>> <module>org.wso2.carbon.dashboard.gadgetrepopopulator/3.2.1</module>
>>
>> <module>org.wso2.carbon.dashboard.dashboardpopulator/3.2.1</module>
>>         <module>org.wso2.carbon.dashboard.themepopulator/3.2.1</module>
>> -
>>  <module>org.wso2.carbon.dashboard.gadgetframework.ui/3.2.1</module>
>> +
>>  <module>org.wso2.carbon.dashboard.gadgetframework.ui/3.2.0</module>
>>         <module>org.wso2.carbon.dashboard.mgt.theme.common/3.2.1</module>
>>         <module>org.wso2.carbon.dashboard.mgt.theme/3.2.1</module>
>>         <module>org.wso2.carbon.dashboard.mgt.theme.ui/3.2.1</module>
>>
>
> What? Somebody changed the  3.2.0/components/dashboard/pom.xml file?
>

yes, it is changed!

profiles default pointing to 3.2.1 and profile dashboard-3.2.0 pointing to
3.2.0. Lalaji, could you pls explain more?

    <profiles>
    <profile>
            <id>default</id>
            <activation>
                <activeByDefault>true</activeByDefault>
            </activation>
             <modules>
        <module>org.wso2.carbon.dashboard.common/3.2.1</module>
        <module>org.wso2.carbon.dashboard/3.2.1</module>
        <module>org.wso2.carbon.dashboard.ui/3.2.1</module>

<module>org.wso2.carbon.dashboard.mgt.gadgetrepo.common/3.2.1</module>
        <module>org.wso2.carbon.dashboard.mgt.gadgetrepo/3.2.1</module>
        <module>org.wso2.carbon.dashboard.mgt.gadgetrepo.ui/3.2.1</module>
        <module>org.wso2.carbon.dashboard.mgt.users/3.2.1</module>
        <module>org.wso2.carbon.dashboard.mgt.users.ui/3.2.1</module>
        <module>org.wso2.carbon.dashboard.gadgetrepopopulator/3.2.1</module>
        <module>org.wso2.carbon.dashboard.dashboardpopulator/3.2.1</module>
        <module>org.wso2.carbon.dashboard.themepopulator/3.2.1</module>
        <module>org.wso2.carbon.dashboard.gadgetframework.ui/3.2.0</module>
        <module>org.wso2.carbon.dashboard.mgt.theme.common/3.2.1</module>
        <module>org.wso2.carbon.dashboard.mgt.theme/3.2.1</module>
        <module>org.wso2.carbon.dashboard.mgt.theme.ui/3.2.1</module>
        <module>org.wso2.carbon.dashboard.social.common/3.2.1</module>
        <module>org.wso2.carbon.dashboard.social/3.2.1</module>
        <module>org.wso2.carbon.dashboard.social.ui/3.2.1</module>
        <module>org.wso2.carbon.dashboard.mgt.oauth/3.2.1</module>
        <module>org.wso2.carbon.dashboard.mgt.oauth.ui/3.2.1</module>
    </modules>
        </profile>

     <profile>
         <id>dashboard-3.2.0</id>
            <activation>
                <property>
                    <name>dashboard</name>
                    <value>3.2.0</value>
                </property>
            </activation>
        <modules>
        <module>org.wso2.carbon.dashboard.common/3.2.0</module>
        <module>org.wso2.carbon.dashboard/3.2.0</module>
        <module>org.wso2.carbon.dashboard.ui/3.2.0</module>

<module>org.wso2.carbon.dashboard.mgt.gadgetrepo.common/3.2.0</module>
        <module>org.wso2.carbon.dashboard.mgt.gadgetrepo/3.2.0</module>
        <module>org.wso2.carbon.dashboard.mgt.gadgetrepo.ui/3.2.0</module>
        <module>org.wso2.carbon.dashboard.mgt.users/3.2.0</module>
        <module>org.wso2.carbon.dashboard.mgt.users.ui/3.2.0</module>
        <module>org.wso2.carbon.dashboard.gadgetrepopopulator/3.2.0</module>
        <module>org.wso2.carbon.dashboard.dashboardpopulator/3.2.0</module>
        <module>org.wso2.carbon.dashboard.themepopulator/3.2.0</module>
        <module>org.wso2.carbon.dashboard.gadgetframework.ui/3.2.0</module>
        <module>org.wso2.carbon.dashboard.mgt.theme.common/3.2.0</module>
        <module>org.wso2.carbon.dashboard.mgt.theme/3.2.0</module>
        <module>org.wso2.carbon.dashboard.mgt.theme.ui/3.2.0</module>
        <module>org.wso2.carbon.dashboard.social.common/3.2.0</module>
        <module>org.wso2.carbon.dashboard.social/3.2.0</module>
        <module>org.wso2.carbon.dashboard.social.ui/3.2.0</module>
        <module>org.wso2.carbon.dashboard.mgt.oauth/3.2.0</module>
        <module>org.wso2.carbon.dashboard.mgt.oauth.ui/3.2.0</module>
        </modules>
        </profile>
    </profiles>


>
>>
>> Any thoughts on this?
>>
>> pradeeban@pradeeban:~/trunk/stratos/3.2.0$ bbc
>> [INFO] Scanning for projects...
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] FATAL ERROR
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Error building POM (may not be this project's POM).
>>
>>
>> Project ID: unknown
>>
>> Reason: Could not find the model file
>>
>> '/home/pradeeban/trunk/stratos/3.2.0/components/dashboard/org.wso2.carbon.dashboard.gadgetframework.ui/3.2.1'.
>> for project unknown
>>
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Trace
>> org.apache.maven.reactor.MavenExecutionException: Could not find the
>> model file
>> '/home/pradeeban/trunk/stratos/3.2.0/components/dashboard/org.wso2.carbon.dashboard.gadgetframework.ui/3.2.1'.
>> for project unknown
>>        at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:404)
>>        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:272)
>>        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
>>        at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
>>        at
>> org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
>>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>        at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>        at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>        at java.lang.reflect.Method.invoke(Method.java:597)
>>        at
>> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>>        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>>        at
>> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>>        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>> Caused by: org.apache.maven.project.ProjectBuildingException: Could
>> not find the model file
>>
>> '/home/pradeeban/trunk/stratos/3.2.0/components/dashboard/org.wso2.carbon.dashboard.gadgetframework.ui/3.2.1'.
>> for project unknown
>>        at
>> org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultMavenProjectBuilder.java:1575)
>>        at
>> org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:506)
>>        at
>> org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:200)
>>        at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:604)
>>        at
>> org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:487)
>>        at
>> org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:560)
>>        at
>> org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:560)
>>        at
>> org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:560)
>>        at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:391)
>>        ... 12 more
>> Caused by: java.io.FileNotFoundException:
>>
>> /home/pradeeban/trunk/stratos/3.2.0/components/dashboard/org.wso2.carbon.dashboard.gadgetframework.ui/3.2.1
>> (No such file or directory)
>>        at java.io.FileInputStream.open(Native Method)
>>        at java.io.FileInputStream.<init>(FileInputStream.java:106)
>>        at
>> hidden.org.codehaus.plexus.util.xml.XmlReader.<init>(XmlReader.java:124)
>>        at
>> hidden.org.codehaus.plexus.util.xml.XmlStreamReader.<init>(XmlStreamReader.java:67)
>>        at
>> hidden.org.codehaus.plexus.util.ReaderFactory.newXmlReader(ReaderFactory.java:118)
>>        at
>> org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultMavenProjectBuilder.java:1570)
>>        ... 20 more
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 6 seconds
>> [INFO] Finished at: Sat Jun 18 23:22:55 IST 2011
>> [INFO] Final Memory: 103M/492M
>> [INFO]
>> ------------------------------------------------------------------------
>>
>>
>> --
>> Kathiravelu Pradeeban.
>> Software Engineer.
>> WSO2 Inc.
>>
>> Blog: [Llovizna] http://kkpradeeban.blogspot.com/
>> _______________________________________________
>> Carbon-dev mailing list
>> [email protected]
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>
>
>
> --
> *Afkham Azeez*
> Director of Architecture; WSO2, Inc.; http://wso2.com
> Member; Apache Software Foundation; http://www.apache.org/
> * <http://www.apache.org/>**
> email: **[email protected]* <[email protected]>* cell: +94 77 3320919
> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
> *
> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
> *
> *
> *Lean . Enterprise . Middleware*
>
>
> _______________________________________________
> Carbon-dev mailing list
> [email protected]
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Kathiravelu Pradeeban.
Software Engineer.
WSO2 Inc.

Blog: [Llovizna] http://kkpradeeban.blogspot.com/
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to