Hi All,

If we build IS without cleaning, the following exception is thrown by Maven.

[ERROR]  I/O Error while copying
/home/harshana/Carbon/products/is/modules/p2-profile-gen/product/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/claim-config.xml
- see details.
[ERROR] Caused by:  java.io.IOException: Target:
/home/harshana/Carbon/products/is/modules/p2-profile-gen/product/target/wso2carbon-core-3.2.0-SNAPSHOT/repository/components/../conf/claim-config.xml
already exists

This occurs because the file claim-config.xml already exist in the target.
So I think it is better we somehow clean the target in this case. I'm
thinking about using a maven-antrun plugin and using that execute an ant
task to clean the target.

WDYT?

Thanks and Regards,
Harshana
-- 
Harshana Martin
Software Engineer
WSO2 Inc.
Web:http://wso2.com
          http://wso2.org

Mobile: +94 716062650
Blog: http://harshana05.blogspot.com
Profile: https://www.google.com/profiles/harshana05
Twitter: http://twitter.com/harshana05
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to