FYI: My rough/dirty patch didn't fix the build anyway. The build failed again with the error below. You can still reproduce this by building 3.2.0/components/dashboard as well. The same component builds fine for trunk.
[INFO] ------------------------------------------------------------------------ [INFO] Building WSO2 Carbon - Dashboard BE [INFO] task-segment: [clean, install] [INFO] ------------------------------------------------------------------------ [INFO] [clean:clean {execution: default-clean}] [INFO] [incremental-build:incremental-build {execution: default}] [INFO] Verifying module descriptor ... [INFO] Pom descriptor modification detected. [INFO] Deleting /home/pradeeban/trunk/stratos/3.2.0/components/dashboard/org.wso2.carbon.dashboard/3.2.1/target [INFO] [clean:clean {execution: auto-clean}] [INFO] Deleting /home/pradeeban/trunk/stratos/3.2.0/components/dashboard/org.wso2.carbon.dashboard/3.2.1/target [INFO] [resources:resources {execution: default-resources}] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 2 resources [INFO] [compiler:compile {execution: default-compile}] [INFO] Compiling 9 source files to /home/pradeeban/trunk/stratos/3.2.0/components/dashboard/org.wso2.carbon.dashboard/3.2.1/target/classes [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /home/pradeeban/trunk/stratos/3.2.0/components/dashboard/org.wso2.carbon.dashboard/3.2.1/src/main/java/org/wso2/carbon/dashboard/deployer/GadgetDeployer.java:[77,50] cannot find symbol symbol : variable PRODUCT_SERVER_NAME location: class org.wso2.carbon.dashboard.common.DashboardConstants [ERROR] /home/pradeeban/trunk/stratos/3.2.0/components/dashboard/org.wso2.carbon.dashboard/3.2.1/src/main/java/org/wso2/carbon/dashboard/deployer/GadgetDeployer.java:[77,113] cannot find symbol symbol : variable SERVICE_SERVER_NAME location: class org.wso2.carbon.dashboard.common.DashboardConstants [INFO] 2 errors [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Compilation failure /home/pradeeban/trunk/stratos/3.2.0/components/dashboard/org.wso2.carbon.dashboard/3.2.1/src/main/java/org/wso2/carbon/dashboard/deployer/GadgetDeployer.java:[77,50] cannot find symbol symbol : variable PRODUCT_SERVER_NAME location: class org.wso2.carbon.dashboard.common.DashboardConstants /home/pradeeban/trunk/stratos/3.2.0/components/dashboard/org.wso2.carbon.dashboard/3.2.1/src/main/java/org/wso2/carbon/dashboard/deployer/GadgetDeployer.java:[77,113] cannot find symbol symbol : variable SERVICE_SERVER_NAME location: class org.wso2.carbon.dashboard.common.DashboardConstants [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 78 minutes 40 seconds [INFO] Finished at: Sun Jun 19 00:52:33 IST 2011 [INFO] Final Memory: 1500M/1831M On Sat, Jun 18, 2011 at 11:56 PM, Afkham Azeez <az...@wso2.com> wrote: > Lalaji, > Please revert all the changes you did to the 3.2.0 branch. Clearly, you have > changed released POMs, and had no idea what needed to be done. > > On Sat, Jun 18, 2011 at 11:52 PM, Kathiravelu Pradeeban <pradee...@wso2.com> > wrote: >> >> >> On Sat, Jun 18, 2011 at 11:47 PM, Afkham Azeez <az...@wso2.com> wrote: >>> >>> >>> On Sat, Jun 18, 2011 at 11:40 PM, Kathiravelu Pradeeban >>> <pradee...@wso2.com> 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 >>>> Carbon-dev@wso2.org >>>> 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/ >>> >>> email: az...@wso2.com cell: +94 77 3320919 >>> blog: http://blog.afkham.org >>> twitter: http://twitter.com/afkham_azeez >>> linked-in: http://lk.linkedin.com/in/afkhamazeez >>> >>> Lean . Enterprise . Middleware >>> >>> _______________________________________________ >>> Carbon-dev mailing list >>> Carbon-dev@wso2.org >>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>> >> >> >> >> -- >> Kathiravelu Pradeeban. >> Software Engineer. >> WSO2 Inc. >> >> Blog: [Llovizna] http://kkpradeeban.blogspot.com/ > > > > -- > Afkham Azeez > Director of Architecture; WSO2, Inc.; http://wso2.com > Member; Apache Software Foundation; http://www.apache.org/ > > email: az...@wso2.com cell: +94 77 3320919 > blog: http://blog.afkham.org > twitter: http://twitter.com/afkham_azeez > linked-in: http://lk.linkedin.com/in/afkhamazeez > > Lean . Enterprise . Middleware > -- Kathiravelu Pradeeban. Software Engineer. WSO2 Inc. Blog: [Llovizna] http://kkpradeeban.blogspot.com/ _______________________________________________ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev