Hi,
This is due to appserver -> as change. There are three places in
as/modules/distribution/product/pom.xml with 'appserver'. Those places
should be changed as 'as'. Use the below mentioned patch and check whether
it builds fine. I am not at a state which I can build appserver now. If this
works please commit.
Index: pom.xml
===================================================================
--- pom.xml (revision 107707)
+++ pom.xml (working copy)
@@ -123,14 +123,14 @@
<mkdir dir="${tempdir}"/>
<unzip dest="${tempdir}">
<fileset dir="target">
- <include
name="wso2appserver-${pom.version}.zip"/>
+ <include
name="wso2as-${pom.version}.zip"/>
</fileset>
</unzip>
<copy
todir="target/wso2carbon-core-${carbon.platform.version}/repository/components"
overwrite="true">
<fileset
dir="${tempdir}/wso2as-${pom.version}/repository/components">
</fileset>
</copy>
- <delete
file="target/wso2appserver-${pom.version}.zip"/>
+ <delete
file="target/wso2as-${pom.version}.zip"/>
<delete dir="${tempdir}"/>
<mkdir dir="${tempdir}"/>
<unzip dest="${tempdir}">
@@ -193,7 +193,7 @@
<delete
dir="target/dependency-maven-plugin-markers"/>
<delete dir="target/maven-archiver"/>
<delete
dir="target/wso2carbon-core-${carbon.platform.version}"/>
- <delete
file="target/wso2appserver-${pom.version}.jar"/>
+ <delete
file="target/wso2as-${pom.version}.jar"/>
<delete dir="target/sources"/>
<delete dir="target/site"/>
<delete dir="src/site"/>
Thanks,
AmilaM.
On Sat, Jun 18, 2011 at 4:47 PM, Kathiravelu Pradeeban
<[email protected]>wrote:
> I took an svn up from the trunk and started building from the carbon
> root directory this morning, and it fails as below.
>
> Any thoughts on this?
>
>
> [INFO] Building WSO2 AppServer - Distribution
> [INFO] task-segment: [clean, install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [clean:clean {execution: default-clean}]
> [INFO] Deleting
>
> /home/pradeeban/trunk/stratos/carbon/products/as/modules/distribution/product/target
> [INFO] [incremental-build:incremental-build {execution: default}]
> [INFO] Verifying module descriptor ...
> [INFO] Pom descriptor modification detected.
> [INFO] Deleting
>
> /home/pradeeban/trunk/stratos/carbon/products/as/modules/distribution/product/target
> [INFO] [buildnumber:create {execution: default}]
> [INFO] Storing buildNumber: 18 Jun 2011
> [INFO] [clean:clean {execution: auto-clean}]
> [INFO] Deleting
>
> /home/pradeeban/trunk/stratos/carbon/products/as/modules/distribution/product/target
> [INFO] [resources:resources {execution: default-resources}]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory
>
> /home/pradeeban/trunk/stratos/carbon/products/as/modules/distribution/product/src/main/resources
> [INFO] [compiler:compile {execution: default-compile}]
> [INFO] No sources to compile
> [INFO] [resources:testResources {execution: default-testResources}]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory
>
> /home/pradeeban/trunk/stratos/carbon/products/as/modules/distribution/product/src/test/resources
> [INFO] [compiler:testCompile {execution: default-testCompile}]
> [INFO] Not compiling test sources
> [INFO] [surefire:test {execution: default-test}]
> [INFO] Tests are skipped.
> [INFO] [assembly:attached {execution: 1-pre_dist}]
> [INFO] Reading assembly descriptor:
>
> /home/pradeeban/trunk/stratos/carbon/products/as/modules/distribution/product/src/assembly/dist.xml
> [INFO] Building zip:
>
> /home/pradeeban/trunk/stratos/carbon/products/as/modules/distribution/product/target/wso2as-4.1.0-SNAPSHOT.zip
> [INFO] [jar:jar {execution: default-jar}]
> [WARNING] JAR will be empty - no content was marked for inclusion!
> [INFO] Building jar:
>
> /home/pradeeban/trunk/stratos/carbon/products/as/modules/distribution/product/target/wso2as-4.1.0-SNAPSHOT.jar
> [INFO] [dependency:unpack {execution: 2-unpack-wso2carbon}]
> [INFO] Configured Artifact:
> org.wso2.carbon:wso2carbon-core:3.2.0-SNAPSHOT:zip
> [INFO] Expanding:
>
> /home/pradeeban/.m2/repository/org/wso2/carbon/wso2carbon-core/3.2.0-SNAPSHOT/wso2carbon-core-3.2.0-SNAPSHOT.zip
> into
> /home/pradeeban/trunk/stratos/carbon/products/as/modules/distribution/product/target
> [INFO] [antrun:run {execution: 3-extract-docs-from-components}]
> [INFO] Executing tasks
> [mkdir] Created dir:
>
> /home/pradeeban/trunk/stratos/carbon/products/as/modules/distribution/product/target/docs-temp
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error executing ant tasks
>
> Embedded error:
>
> /home/pradeeban/trunk/stratos/carbon/products/as/modules/distribution/product/target/docs-temp/wso2as-4.1.0-SNAPSHOT/repository/components
> not found.
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 257 minutes 38 seconds
> [INFO] Finished at: Sat Jun 18 15:47:32 IST 2011
> [INFO] Final Memory: 1522M/1644M
> [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
>
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev