geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Dillon <ja...@planet57.com>
Subject Re: [M2 build] : Error building application uddi-db on XP
Date Mon, 10 Jul 2006 23:15:45 GMT
Why are the uddi-* webapp files duplicated in the -server and -db  
modules?

<snip>
uddi-db/src
uddi-db/src/sql
uddi-db/src/sql/juddi.sql
uddi-db/src/webapp
uddi-db/src/webapp/happyjuddi.jsp
uddi-db/src/webapp/WEB-INF
uddi-db/src/webapp/WEB-INF/juddi.properties
uddi-db/src/webapp/WEB-INF/web.xml
uddi-server/src
uddi-server/src/webapp
uddi-server/src/webapp/happyjuddi.jsp
uddi-server/src/webapp/WEB-INF
uddi-server/src/webapp/WEB-INF/juddi.properties
uddi-server/src/webapp/WEB-INF/web.xml
</snip>

--jason


On Jul 10, 2006, at 5:12 AM, Prasad Kashyap wrote:

> Seeing this error on Windows XP only. Unable to recreate it on Linux.
>
> I am trying to build the trunk using m2. I began with a clean repo and
> did a fresh checkout.
>
> I executed build.bat and it ran the bootstrap stage. Then I executed
>
> build.bat -Dstage=assembly -Dmaven.test.skip=true.
>
> It failed while trying to build applications/uddi-db with the  
> following error
>
> ---------------
> [INFO] [antrun:run {execution: default}]
> [INFO] Executing tasks
>   [delete] Deleting directory
> C:\Apache\geronimo\trunk\applications\uddi-db\target\resources\META- 
> INF\geronimo-uddi-db\var\derby
>    [mkdir] Created dir:
> C:\Apache\geronimo\trunk\applications\uddi-db\target\resources\META- 
> INF\geronimo-uddi-db\var\derby
>      [sql] Executing file:
> C:\Apache\geronimo\trunk\applications\uddi-db\src\sql\juddi.sql
>      [sql] 87 of 87 SQL statements executed successfully
> [INFO] Executed tasks
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:compile]
> [INFO] No sources to compile
> [INFO] [jspc:compile {execution: jspc}]
> [INFO] Built File: \happyjuddi.jsp
> [INFO] [antrun:run {execution: default}]
> [INFO] Executing tasks
>   [delete] Deleting directory
> C:\Apache\geronimo\trunk\applications\uddi-db\taget\resources\META- 
> INF\geronimo-uddi-db\var\derby
> [INFO]  
> ---------------------------------------------------------------------- 
> --
> [ERROR] BUILD ERROR
> [INFO]  
> ---------------------------------------------------------------------- 
> --
> [INFO] Error executing ant tasks
>
> Embedded error: Unable to delete file
> C:\Apache\geronimo\trunk\applications\uddi-db\target\resources\META- 
> INF\geronimo-uddi-db\var\derby\UddiDatabase\db.lck
> [INFO]  
> ---------------------------------------------------------------------- 
> --
> [INFO] For more information, run Maven with the -e switch
> [INFO]  
> ---------------------------------------------------------------------- 
> --
> [INFO] Total time: 1 minute 36 seconds
> [INFO] Finished at: Mon Jul 10 07:47:20 EDT 2006
> [INFO] Final Memory: 28M/51M
>
> ---------------------------------
>
> It is trying to execute the antrun plugin in the
> applications/uddi-db/pom.xml a second time when the error occurs.
>
> Cheers
> Prasad


Mime
View raw message