Hi Dimuthu,
This is a problem due to the entry in bin.xml to copy files.
<fileSet>
<directory>target/wso2carbon-core-${carbon.version}</directory>
<outputDirectory>${pom.artifactId}-${pom.version}</outputDirectory>
<excludes>
<exclude>**/*.sh</exclude>
<exclude>**/wso2server.bat</exclude>
<exclude>**/axis2services/sample01.aar</exclude>
<exclude>**/axis2services/echo/**</exclude>
<exclude>**/axis2services/version/**</exclude>
<exclude>**/pom.xml</exclude>
<exclude>**/version.txt</exclude>
<exclude>**/README*</exclude>
<exclude>**/INSTALL*</exclude>
<exclude>**/LICENSE*</exclude>
<exclude>**/release-notes.html</exclude>
<exclude>**/carbon.xml</exclude>
<exclude>**/axis2/axis2.xml</exclude>
</excludes>
</fileSet>
<fileSet>
<directory>target/wso2carbon-core-${carbon.version}</directory>
<outputDirectory>${pom.artifactId}-${pom.version}</outputDirectory>
<fileMode>755</fileMode>
</fileSet>
Here you have two entries to copy same file set and it has caused the
problem. You can get rid of this by removing second entry for coping files.
Thanks
Shammi
On Wed, May 23, 2012 at 9:18 AM, Dimuthu Leelarathne <[email protected]>wrote:
> Hi all,
>
> In my AppServer pack files are getting packed twice.
>
> inflating: wso2stratos-as-1.1.0-SNAPSHOT/repository/database/README
> replace
> wso2stratos-as-1.1.0-SNAPSHOT/repository/components/p2/org.eclipse.equinox.p2.engine/profileRegistry/WSO2CarbonProfile.profile/1337690616328.profile.gz?
> [y]es, [n]o, [A]ll, [N]one, [r]ename: y
> inflating:
> wso2stratos-as-1.1.0-SNAPSHOT/repository/components/p2/org.eclipse.equinox.p2.engine/profileRegistry/WSO2CarbonProfile.profile/1337690616328.profile.gz
>
> replace
> wso2stratos-as-1.1.0-SNAPSHOT/repository/components/p2/org.eclipse.equinox.p2.engine/profileRegistry/WSO2CarbonProfile.profile/1337742899091.profile.gz?
> [y]es, [n]o, [A]ll, [N]one, [r]ename:
> error: invalid response [{ENTER}]
> replace
> wso2stratos-as-1.1.0-SNAPSHOT/repository/components/p2/org.eclipse.equinox.p2.engine/profileRegistry/WSO2CarbonProfile.profile/1337742899091.profile.gz?
> [y]es, [n]o, [A]ll, [N]one, [r]ename: y
> inflating:
> wso2stratos-as-1.1.0-SNAPSHOT/repository/components/p2/org.eclipse.equinox.p2.engine/profileRegistry/WSO2CarbonProfile.profile/1337742899091.profile.gz
>
> replace
> wso2stratos-as-1.1.0-SNAPSHOT/repository/components/p2/org.eclipse.equinox.p2.engine/profileRegistry/WSO2CarbonProfile.profile/1337742878571.profile.gz?
> [y]es, [n]o, [A]ll, [N]one, [r]ename: y
> inflating:
> wso2stratos-as-1.1.0-SNAPSHOT/repository/components/p2/org.eclipse.equinox.p2.engine/profileRegistry/WSO2CarbonProfile.profile/1337742878571.profile.gz
>
> replace
> wso2stratos-as-1.1.0-SNAPSHOT/repository/components/p2/org.eclipse.equinox.p2.engine/profileRegistry/WSO2CarbonProfile.profile/1337690626227.profile.gz?
> [y]es, [n]o, [A]ll, [N]one, [r]ename: y
> inflating:
> wso2stratos-as-1.1.0-SNAPSHOT/repository/components/p2/org.eclipse.equinox.p2.engine/profileRegistry/WSO2CarbonProfile.profile/1337690626227.profile.gz
>
> replace
> wso2stratos-as-1.1.0-SNAPSHOT/repository/components/p2/org.eclipse.equinox.p2.engine/profileRegistry/WSO2CarbonProfile.profile/1337690617977.profile.gz?
> [y]es, [n]o, [A]ll, [N]one, [r]ename: y
> inflating:
> wso2stratos-as-1.1.0-SNAPSHOT/repository/components/p2/org.eclipse.equinox.p2.engine/profileRegistry/WSO2CarbonProfile.profile/1337690617977.profile.gz
>
> replace
> wso2stratos-as-1.1.0-SNAPSHOT/repository/components/p2/org.eclipse.equinox.p2.engine/profileRegistry/WSO2CarbonProfile.profile/1337690618353.profile.gz?
> [y]es, [n]o, [A]ll, [N]one, [r]ename: y
> inflating:
> wso2stratos-as-1.1.0-SNAPSHOT/repository/components/p2/org.eclipse.equinox.p2.engine/profileRegistry/WSO2CarbonProfile.profile/1337690618353.profile.gz
>
> replace
> wso2stratos-as-1.1.0-SNAPSHOT/repository/components/p2/org.eclipse.equinox.p2.engine/profileRegistry/WSO2CarbonProfile.profile/1337690616260.profile.gz?
> [y]es, [n]o, [A]ll, [N]one, [r]ename: y
> inflating:
> wso2stratos-as-1.1.0-SNAPSHOT/repository/components/p2/org.eclipse.equinox.p2.engine/profileRegistry/WSO2CarbonProfile.profile/1337690616260.profile.gz
>
> replace
> wso2stratos-as-1.1.0-SNAPSHOT/repository/components/p2/org.eclipse.equinox.p2.engine/profileRegistry/WSO2CarbonProfile.profile/1337742868794.profile.gz?
> [y]es, [n]o, [A]ll, [N]one, [r]ename: y
> inflating:
> wso2stratos-as-1.1.0-SNAPSHOT/repository/components/p2/org.eclipse.equinox.p2.engine/profileRegistry/WSO2CarbonProfile.profile/1337742868794.profile.gz
>
> replace
> wso2stratos-as-1.1.0-SNAPSHOT/repository/components/p2/org.eclipse.equinox.p2.engine/profileRegistry/WSO2CarbonProfile.profile/1337690628421.profile.gz?
> [y]es, [n]o, [A]ll, [N]one, [r]ename: y
> inflating:
> wso2stratos-as-1.1.0-SNAPSHOT/repository/components/p2/org.eclipse.equinox.p2.engine/profileRegistry/WSO2CarbonProfile.profile/1337690628421.profile.gz
>
> replace
> wso2stratos-as-1.1.0-SNAPSHOT/repository/components/p2/org.eclipse.equinox.p2.engine/profileRegistry/WSO2CarbonProfile.profile/1337690621402.profile.gz?
> [y]es, [n]o, [A]ll, [N]one, [r]ename: y
> inflating:
> wso2stratos-as-1.1.0-SNAPSHOT/repository/components/p2/org.eclipse.equinox.p2.engine/profileRegistry/WSO2CarbonProfile.profile/1337690621402.profile.gz
>
> replace
> wso2stratos-as-1.1.0-SNAPSHOT/repository/components/p2/org.eclipse.equinox.p2.engine/.settings/org.eclipse.equinox.p2.artifact.repository.prefs?
> [y]es, [n]o, [A]ll, [N]one, [r]ename: y
> inflating:
> wso2stratos-as-1.1.0-SNAPSHOT/repository/components/p2/org.eclipse.equinox.p2.engine/.settings/org.eclipse.equinox.p2.artifact.repository.prefs
>
> replace
> wso2stratos-as-1.1.0-SNAPSHOT/repository/components/p2/org.eclipse.equinox.p2.core/cache/artifacts.xml?
> [y]es, [n]o, [A]ll, [N]one, [r]ename: y
> inflating:
> wso2stratos-as-1.1.0-SNAPSHOT/repository/components/p2/org.eclipse.equinox.p2.core/cache/artifacts.xml
>
> replace
> wso2stratos-as-1.1.0-SNAPSHOT/repository/components/features/org.wso2.carbon.message.flows_4.0.0.SNAPSHOT/META-INF/MANIFEST.MF?
> [y]es, [n]o, [A]ll, [N]one, [r]ename: y
> inflating:
> wso2stratos-as-1.1.0-SNAPSHOT/repository/components/features/org.wso2.carbon.message.flows_4.0.0.SNAPSHOT/META-INF/MANIFEST.MF
>
> replace
> wso2stratos-as-1.1.0-SNAPSHOT/repository/components/features/org.wso2.carbon.message.flows_4.0.0.SNAPSHOT/p2.inf?
> [y]es, [n]o, [A]ll, [N]one, [r]ename: y
> inflating:
> wso2stratos-as-1.1.0-SNAPSHOT/repository/components/features/org.wso2.carbon.message.flows_4.0.0.SNAPSHOT/p2.inf
>
> replace
> wso2stratos-as-1.1.0-SNAPSHOT/repository/components/features/org.wso2.carbon.message.flows_4.0.0.SNAPSHOT/feature.properties?
> [y]es, [n]o, [A]ll, [N]one, [r]ename: y
> inflating:
> wso2stratos-as-1.1.0-SNAPSHOT/repository/components/features/org.wso2.carbon.message.flows_4.0.0.SNAPSHOT/feature.properties
>
> replace
> wso2stratos-as-1.1.0-SNAPSHOT/repository/components/features/org.wso2.carbon.message.flows_4.0.0.SNAPSHOT/feature.xml?
> [y]es, [n]o, [A]ll, [N]one, [r]ename: y
> inflating:
> wso2stratos-as-1.1.0-SNAPSHOT/repository/components/features/org.wso2.carbon.message.flows_4.0.0.SNAPSHOT/feature.xml
>
> replace
> wso2stratos-as-1.1.0-SNAPSHOT/repository/components/features/org.wso2.carbon.cloud.csg.agent.ui_4.0.0.SNAPSHOT/META-INF/MANIFEST.MF?
> [y]es, [n]o, [A]ll, [N]one, [r]ename: y
> inflating:
> wso2stratos-as-1.1.0-SNAPSHOT/repository/components/features/org.wso2.carbon.cloud.csg.agent.ui_4.0.0.SNAPSHOT/META-INF/MANIFEST.MF
>
> replace
> wso2stratos-as-1.1.0-SNAPSHOT/repository/components/features/org.wso2.carbon.cloud.csg.agent.ui_4.0.0.SNAPSHOT/p2.inf?
> [y]es, [n]o, [A]ll, [N]one, [r]ename: y
> inflating:
> wso2stratos-as-1.1.0-SNAPSHOT/repository/components/features/org.wso2.carbon.cloud.csg.agent.ui_4.0.0.SNAPSHOT/p2.inf
>
> replace
> wso2stratos-as-1.1.0-SNAPSHOT/repository/components/features/org.wso2.carbon.cloud.csg.agent.ui_4.0.0.SNAPSHOT/feature.properties?
> [y]es, [n]o, [A]ll, [N]one, [r]ename: y
> inflating:
> wso2stratos-as-1.1.0-SNAPSHOT/repository/components/features/org.wso2.carbon.cloud.csg.agent.ui_4.0.0.SNAPSHOT/feature.properties
>
> replace
> wso2stratos-as-1.1.0-SNAPSHOT/repository/components/features/org.wso2.carbon.cloud.csg.agent.ui_4.0.0.SNAPSHOT/feature.xml?
> [y]es, [n]o, [A]ll, [N]one, [r]ename: y
> inflating:
> wso2stratos-as-1.1.0-SNAPSHOT/repository/components/features/org.wso2.carbon.cloud.csg.agent.ui_4.0.0.SNAPSHOT/feature.xml
>
> replace
> wso2stratos-as-1.1.0-SNAPSHOT/repository/components/features/org.wso2.carbon.event.ui_4.0.0.SNAPSHOT/META-INF/MANIFEST.MF?
> [y]es, [n]o, [A]ll, [N]one, [r]ename: y
> inflating:
> wso2stratos-as-1.1.0-SNAPSHOT/repository/components/features/org.wso2.carbon.event.ui_4.0.0.SNAPSHOT/META-INF/MANIFEST.MF
>
> replace
> wso2stratos-as-1.1.0-SNAPSHOT/repository/components/features/org.wso2.carbon.event.ui_4.0.0.SNAPSHOT/p2.inf?
> [y]es, [n]o, [A]ll, [N]one, [r]ename: y
> inflating:
> wso2stratos-as-1.1.0-SNAPSHOT/repository/components/features/org.wso2.carbon.event.ui_4.0.0.SNAPSHOT/p2.inf
>
> replace
> wso2stratos-as-1.1.0-SNAPSHOT/repository/components/features/org.wso2.carbon.event.ui_4.0.0.SNAPSHOT/feature.properties?
> [y]es, [n]o, [A]ll, [N]one, [r]ename: y
> inflating:
> wso2stratos-as-1.1.0-SNAPSHOT/repository/components/features/org.wso2.carbon.event.ui_4.0.0.SNAPSHOT/feature.properties
>
> replace
> wso2stratos-as-1.1.0-SNAPSHOT/repository/components/features/org.wso2.carbon.event.ui_4.0.0.SNAPSHOT/feature.xml?
> [y]es, [n]o, [A]ll, [N]one, [r]ename: y
> inflating:
> wso2stratos-as-1.1.0-SNAPSHOT/repository/components/features/org.wso2.carbon.event.ui_4.0.0.SNAPSHOT/feature.xml
>
> replace
> wso2stratos-as-1.1.0-SNAPSHOT/repository/components/features/org.wso2.carbon.coordination.core_4.0.0.SNAPSHOT/META-INF/MANIFEST.MF?
> [y]es, [n]o, [A]ll, [N]one, [r]ename: y
> inflating:
> wso2stratos-as-1.1.0-SNAPSHOT/repository/components/features/org.wso2.carbon.coordination.core_4.0.0.SNAPSHOT/META-INF/MANIFEST.MF
>
> replace
> wso2stratos-as-1.1.0-SNAPSHOT/repository/components/features/org.wso2.carbon.coordination.core_4.0.0.SNAPSHOT/p2.inf?
> [y]es, [n]o, [A]ll, [N]one, [r]ename: y
> inflating:
> wso2stratos-as-1.1.0-SNAPSHOT/repository/components/features/org.wso2.carbon.coordination.core_4.0.0.SNAPSHOT/p2.inf
>
> replace
> wso2stratos-as-1.1.0-SNAPSHOT/repository/components/features/org.wso2.carbon.coordination.core_4.0.0.SNAPSHOT/feature.properties?
> [y]es, [n]o, [A]ll, [N]one, [r]ename: y
> inflating:
> wso2stratos-as-1.1.0-SNAPSHOT/repository/components/features/org.wso2.carbon.coordination.core_4.0.0.SNAPSHOT/feature.properties
>
> replace
> wso2stratos-as-1.1.0-SNAPSHOT/repository/components/features/org.wso2.carbon.coordination.core_4.0.0.SNAPSHOT/build.properties?
> [y]es, [n]o, [A]ll, [N]one, [r]ename: y
> inflating:
> wso2stratos-as-1.1.0-SNAPSHOT/repository/components/features/org.wso2.carbon.coordination.core_4.0.0.SNAPSHOT/build.properties
>
> replace
> wso2stratos-as-1.1.0-SNAPSHOT/repository/components/features/org.wso2.carbon.coordination.core_4.0.0.SNAPSHOT/feature.xml?
> [y]es, [n]o, [A]ll, [N]one, [r]ename: y
> inflating:
> wso2stratos-as-1.1.0-SNAPSHOT/repository/components/features/org.wso2.carbon.coordination.core_4.0.0.SNAPSHOT/feature.xml
>
> replace
> wso2stratos-as-1.1.0-SNAPSHOT/repository/components/features/org.wso2.carbon.captcha.mgt.server_4.0.0.SNAPSHOT/META-INF/MANIFEST.MF?
> [y]es, [n]o, [A]ll, [N]one, [r]ename: y
> inflating:
> wso2stratos-as-1.1.0-SNAPSHOT/repository/components/features/org.wso2.carbon.captcha.mgt.server_4.0.0.SNAPSHOT/META-INF/MANIFEST.MF
>
> replace
> wso2stratos-as-1.1.0-SNAPSHOT/repository/components/features/org.wso2.carbon.captcha.mgt.server_4.0.0.SNAPSHOT/p2.inf?
> [y]es, [n]o, [A]ll, [N]one, [r]ename: y
> inflating:
> wso2stratos-as-1.1.0-SNAPSHOT/repository/components/features/org.wso2.carbon.captcha.mgt.server_4.0.0.SNAPSHOT/p2.inf
>
> replace
> wso2stratos-as-1.1.0-SNAPSHOT/repository/components/features/org.wso2.carbon.captcha.mgt.server_4.0.0.SNAPSHOT/feature.properties?
> [y]es, [n]o, [A]ll, [N]one, [r]ename: y
> inflating:
> wso2stratos-as-1.1.0-SNAPSHOT/repository/components/features/org.wso2.carbon.captcha.mgt.server_4.0.0.SNAPSHOT/feature.properties
>
> replace
> wso2stratos-as-1.1.0-SNAPSHOT/repository/components/features/org.wso2.carbon.captcha.mgt.server_4.0.0.SNAPSHOT/feature.xml?
> [y]es, [n]o, [A]ll, [N]one, [r]ename: y
> inflating:
> wso2stratos-as-1.1.0-SNAPSHOT/repository/components/features/org.wso2.carbon.captcha.mgt.server_4.0.0.SNAPSHOT/feature.xml
>
> replace
> wso2stratos-as-1.1.0-SNAPSHOT/repository/components/features/org.wso2.carbon.aarservices_4.0.0.SNAPSHOT/META-INF/MANIFEST.MF?
> [y]es, [n]o, [A]ll, [N]one, [r]ename: y
> inflating:
> wso2stratos-as-1.1.0-SNAPSHOT/repository/components/features/org.wso2.carbon.aarservices_4.0.0.SNAPSHOT/META-INF/MANIFEST.MF
>
> replace
> wso2stratos-as-1.1.0-SNAPSHOT/repository/components/features/org.wso2.carbon.aarservices_4.0.0.SNAPSHOT/p2.inf?
> [y]es, [n]o, [A]ll, [N]one, [r]ename: y
>
>
> ................ and the list goes on. Any idea where I should look?
>
> thanks,
> dimuthu
>
> --
> Dimuthu Leelarathne
> Technical Lead
>
> WSO2, Inc. (http://wso2.com)
> email: [email protected]
>
> Lean . Enterprise . Middleware
>
>
--
Best Regards,*
Shammi Jayasinghe*
Senior Software Engineer; WSO2, Inc.; http://wso2.com,
mobile: +94 71 4493085
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev