Re: [Carbon-dev] Carbon Does not Build on a Clean Repo on Windows

2012-02-17 Thread Senaka Fernando
Hi again,

Ok I now understand what's going wrong here. The
org.apache.tomcat-1.7.0.wso2v1.jar that gets fetched is corrupted. I opened
it in a text editor and inside it I can see, Please access the maven
central repository directly. Jarvana currently does not allow direct access
to repository files.. This proves that this is not something to do with
Pradeeps commit, and it is also possibly not something specific to Windows.
It seems that Carbon does not build on a clean repo and the dependent
repository and/or nexus are having problems. It also means that the builder
is unable to track such issues, and possibly noone other than me is
building on a clean repo.

Can we have a look into this and sort this out?

Thanks,
Senaka.
On Fri, Feb 17, 2012 at 11:24 AM, Senaka Fernando sen...@wso2.com wrote:

 Hi all,

 Just tried opening the JAR file using an Archive Manager, and it is
 corrupted. So, as it seems this jar file that gets produced out of the
 build is corrupted, and therefore the build fails.

 Thanks,
 Senaka.
 On Fri, Feb 17, 2012 at 10:46 AM, Senaka Fernando sen...@wso2.com wrote:

 Hi all,
 Found that the potential culprit is this commit: r120782. Pradeep, any
 thoughts on why this happens?
  Thanks,
 Senaka.
 On Fri, Feb 17, 2012 at 9:40 AM, Senaka Fernando sen...@wso2.com wrote:

 Hi all,

 Can we urgently fix this? We cannot work on the release items until the
 build is stable and it is absolutely crucial that we understand the
 stability of the build is of utmost importance irrespective of the
 restructuring going on.

 [INFO]
 
 [INFO] BUILD FAILURE
 [INFO]
 
 [INFO] Total time: 3:20.402s
 [INFO] Finished at: Fri Feb 17 09:38:48 IST 2012
 [INFO] Final Memory: 387M/1059M
 [INFO]
 
 [ERROR] Failed to execute goal
 org.apache.maven.plugins:maven-compiler-plugin:2.
 3.1:compile (default-compile) on project org.wso2.carbon.tomcat:
 Compilation fai
 lure: Compilation failure:
 [ERROR] error: error reading
 C:\Users\Senaka\.m2\repository\org\wso2\carbon\java
 x.servlet\3.0.0.wso2v1\javax.servlet-3.0.0.wso2v1.jar; error in opening
 zip file
 [ERROR] error: error reading
 C:\Users\Senaka\.m2\repository\org\wso2\carbon\org.
 apache.tomcat\1.7.0.wso2v1\org.apache.tomcat-1.7.0.wso2v1.jar; error in
 opening
 zip file
 [ERROR] - [Help 1]
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with the
 -e swit
 ch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]

 Thanks,
 Senaka.

 --
 *Senaka Fernando*
 Product Manager - WSO2 Governance Registry;
 Associate Technical Lead; WSO2 Inc.; http://wso2.com*
 Member; Apache Software Foundation; http://apache.org

 E-mail: senaka AT wso2.com
 **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
 Linked-In: http://linkedin.com/in/senakafernando

 *Lean . Enterprise . Middleware




 --
 *Senaka Fernando*
 Product Manager - WSO2 Governance Registry;
 Associate Technical Lead; WSO2 Inc.; http://wso2.com*
 Member; Apache Software Foundation; http://apache.org

 E-mail: senaka AT wso2.com
 **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
 Linked-In: http://linkedin.com/in/senakafernando

 *Lean . Enterprise . Middleware




 --
 *Senaka Fernando*
 Product Manager - WSO2 Governance Registry;
 Associate Technical Lead; WSO2 Inc.; http://wso2.com*
 Member; Apache Software Foundation; http://apache.org

 E-mail: senaka AT wso2.com
 **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
 Linked-In: http://linkedin.com/in/senakafernando

 *Lean . Enterprise . Middleware




-- 
*Senaka Fernando*
Product Manager - WSO2 Governance Registry;
Associate Technical Lead; WSO2 Inc.; http://wso2.com*
Member; Apache Software Foundation; http://apache.org

E-mail: senaka AT wso2.com
**P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
Linked-In: http://linkedin.com/in/senakafernando

*Lean . Enterprise . Middleware
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Carbon Does not Build on a Clean Repo on Windows

2012-02-17 Thread Afkham Azeez
This must be a new issue. I have built on a clean repo several times during
the past few months.

On Fri, Feb 17, 2012 at 3:05 PM, Senaka Fernando sen...@wso2.com wrote:

 Hi again,

 Ok I now understand what's going wrong here. The
 org.apache.tomcat-1.7.0.wso2v1.jar that gets fetched is corrupted. I opened
 it in a text editor and inside it I can see, Please access the maven
 central repository directly. Jarvana currently does not allow direct access
 to repository files.. This proves that this is not something to do with
 Pradeeps commit, and it is also possibly not something specific to Windows.
 It seems that Carbon does not build on a clean repo and the dependent
 repository and/or nexus are having problems. It also means that the builder
 is unable to track such issues, and possibly noone other than me is
 building on a clean repo.

 Can we have a look into this and sort this out?

 Thanks,
 Senaka.
 On Fri, Feb 17, 2012 at 11:24 AM, Senaka Fernando sen...@wso2.com wrote:

 Hi all,

 Just tried opening the JAR file using an Archive Manager, and it is
 corrupted. So, as it seems this jar file that gets produced out of the
 build is corrupted, and therefore the build fails.

 Thanks,
 Senaka.
 On Fri, Feb 17, 2012 at 10:46 AM, Senaka Fernando sen...@wso2.comwrote:

 Hi all,
 Found that the potential culprit is this commit: r120782. Pradeep, any
 thoughts on why this happens?
  Thanks,
 Senaka.
 On Fri, Feb 17, 2012 at 9:40 AM, Senaka Fernando sen...@wso2.comwrote:

 Hi all,

 Can we urgently fix this? We cannot work on the release items until the
 build is stable and it is absolutely crucial that we understand the
 stability of the build is of utmost importance irrespective of the
 restructuring going on.

 [INFO]
 
 [INFO] BUILD FAILURE
 [INFO]
 
 [INFO] Total time: 3:20.402s
 [INFO] Finished at: Fri Feb 17 09:38:48 IST 2012
 [INFO] Final Memory: 387M/1059M
 [INFO]
 
 [ERROR] Failed to execute goal
 org.apache.maven.plugins:maven-compiler-plugin:2.
 3.1:compile (default-compile) on project org.wso2.carbon.tomcat:
 Compilation fai
 lure: Compilation failure:
 [ERROR] error: error reading
 C:\Users\Senaka\.m2\repository\org\wso2\carbon\java
 x.servlet\3.0.0.wso2v1\javax.servlet-3.0.0.wso2v1.jar; error in opening
 zip file
 [ERROR] error: error reading
 C:\Users\Senaka\.m2\repository\org\wso2\carbon\org.
 apache.tomcat\1.7.0.wso2v1\org.apache.tomcat-1.7.0.wso2v1.jar; error in
 opening
 zip file
 [ERROR] - [Help 1]
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with
 the -e swit
 ch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]

 Thanks,
 Senaka.

 --
 *Senaka Fernando*
 Product Manager - WSO2 Governance Registry;
 Associate Technical Lead; WSO2 Inc.; http://wso2.com*
 Member; Apache Software Foundation; http://apache.org

 E-mail: senaka AT wso2.com
 **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
 Linked-In: http://linkedin.com/in/senakafernando

 *Lean . Enterprise . Middleware




 --
 *Senaka Fernando*
 Product Manager - WSO2 Governance Registry;
 Associate Technical Lead; WSO2 Inc.; http://wso2.com*
 Member; Apache Software Foundation; http://apache.org

 E-mail: senaka AT wso2.com
 **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
 Linked-In: http://linkedin.com/in/senakafernando

 *Lean . Enterprise . Middleware




 --
 *Senaka Fernando*
 Product Manager - WSO2 Governance Registry;
 Associate Technical Lead; WSO2 Inc.; http://wso2.com*
 Member; Apache Software Foundation; http://apache.org

 E-mail: senaka AT wso2.com
 **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
 Linked-In: http://linkedin.com/in/senakafernando

 *Lean . Enterprise . Middleware




 --
 *Senaka Fernando*
 Product Manager - WSO2 Governance Registry;
 Associate Technical Lead; WSO2 Inc.; http://wso2.com*
 Member; Apache Software Foundation; http://apache.org

 E-mail: senaka AT wso2.com
 **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
 Linked-In: http://linkedin.com/in/senakafernando

 *Lean . Enterprise . Middleware


 ___
 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/
* http://www.apache.org/**
email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
blog: **http://blog.afkham.org* http://blog.afkham.org*
twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
___
Carbon-dev mailing list
Carbon-dev@wso2.org

Re: [Carbon-dev] Carbon Does not Build on a Clean Repo on Windows

2012-02-17 Thread Keheliya Gallaba
Hi Senaka,

I also came across this issue and it was caused by adding a proxy in Nexus
to the external Jarvana Repository and this repo does not allow direct
access. It's fixed now by removing this proxy in Nexus.

Regards,
Keheliya

On Fri, Feb 17, 2012 at 4:24 PM, Afkham Azeez az...@wso2.com wrote:

 This must be a new issue. I have built on a clean repo several times
 during the past few months.

 On Fri, Feb 17, 2012 at 3:05 PM, Senaka Fernando sen...@wso2.com wrote:

 Hi again,

 Ok I now understand what's going wrong here. The
 org.apache.tomcat-1.7.0.wso2v1.jar that gets fetched is corrupted. I opened
 it in a text editor and inside it I can see, Please access the maven
 central repository directly. Jarvana currently does not allow direct access
 to repository files.. This proves that this is not something to do with
 Pradeeps commit, and it is also possibly not something specific to Windows.
 It seems that Carbon does not build on a clean repo and the dependent
 repository and/or nexus are having problems. It also means that the builder
 is unable to track such issues, and possibly noone other than me is
 building on a clean repo.

 Can we have a look into this and sort this out?

 Thanks,
 Senaka.
 On Fri, Feb 17, 2012 at 11:24 AM, Senaka Fernando sen...@wso2.comwrote:

 Hi all,

 Just tried opening the JAR file using an Archive Manager, and it is
 corrupted. So, as it seems this jar file that gets produced out of the
 build is corrupted, and therefore the build fails.

 Thanks,
 Senaka.
 On Fri, Feb 17, 2012 at 10:46 AM, Senaka Fernando sen...@wso2.comwrote:

 Hi all,
 Found that the potential culprit is this commit: r120782. Pradeep, any
 thoughts on why this happens?
  Thanks,
 Senaka.
 On Fri, Feb 17, 2012 at 9:40 AM, Senaka Fernando sen...@wso2.comwrote:

 Hi all,

 Can we urgently fix this? We cannot work on the release items until
 the build is stable and it is absolutely crucial that we understand the
 stability of the build is of utmost importance irrespective of the
 restructuring going on.

 [INFO]
 
 [INFO] BUILD FAILURE
 [INFO]
 
 [INFO] Total time: 3:20.402s
 [INFO] Finished at: Fri Feb 17 09:38:48 IST 2012
 [INFO] Final Memory: 387M/1059M
 [INFO]
 
 [ERROR] Failed to execute goal
 org.apache.maven.plugins:maven-compiler-plugin:2.
 3.1:compile (default-compile) on project org.wso2.carbon.tomcat:
 Compilation fai
 lure: Compilation failure:
 [ERROR] error: error reading
 C:\Users\Senaka\.m2\repository\org\wso2\carbon\java
 x.servlet\3.0.0.wso2v1\javax.servlet-3.0.0.wso2v1.jar; error in
 opening zip file
 [ERROR] error: error reading
 C:\Users\Senaka\.m2\repository\org\wso2\carbon\org.
 apache.tomcat\1.7.0.wso2v1\org.apache.tomcat-1.7.0.wso2v1.jar; error
 in opening
 zip file
 [ERROR] - [Help 1]
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with
 the -e swit
 ch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]

 Thanks,
 Senaka.

 --
 *Senaka Fernando*
 Product Manager - WSO2 Governance Registry;
 Associate Technical Lead; WSO2 Inc.; http://wso2.com*
 Member; Apache Software Foundation; http://apache.org

 E-mail: senaka AT wso2.com
 **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
 Linked-In: http://linkedin.com/in/senakafernando

 *Lean . Enterprise . Middleware




 --
 *Senaka Fernando*
 Product Manager - WSO2 Governance Registry;
 Associate Technical Lead; WSO2 Inc.; http://wso2.com*
 Member; Apache Software Foundation; http://apache.org

 E-mail: senaka AT wso2.com
 **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
 Linked-In: http://linkedin.com/in/senakafernando

 *Lean . Enterprise . Middleware




 --
 *Senaka Fernando*
 Product Manager - WSO2 Governance Registry;
 Associate Technical Lead; WSO2 Inc.; http://wso2.com*
 Member; Apache Software Foundation; http://apache.org

 E-mail: senaka AT wso2.com
 **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
 Linked-In: http://linkedin.com/in/senakafernando

 *Lean . Enterprise . Middleware




 --
 *Senaka Fernando*
 Product Manager - WSO2 Governance Registry;
 Associate Technical Lead; WSO2 Inc.; http://wso2.com*
 Member; Apache Software Foundation; http://apache.org

 E-mail: senaka AT wso2.com
 **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
 Linked-In: http://linkedin.com/in/senakafernando

 *Lean . Enterprise . Middleware


 ___
 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/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* 

Re: [Carbon-dev] Carbon Does not Build on a Clean Repo on Windows

2012-02-16 Thread Senaka Fernando
Hi all,
Found that the potential culprit is this commit: r120782. Pradeep, any
thoughts on why this happens?
Thanks,
Senaka.
On Fri, Feb 17, 2012 at 9:40 AM, Senaka Fernando sen...@wso2.com wrote:

 Hi all,

 Can we urgently fix this? We cannot work on the release items until the
 build is stable and it is absolutely crucial that we understand the
 stability of the build is of utmost importance irrespective of the
 restructuring going on.

 [INFO]
 
 [INFO] BUILD FAILURE
 [INFO]
 
 [INFO] Total time: 3:20.402s
 [INFO] Finished at: Fri Feb 17 09:38:48 IST 2012
 [INFO] Final Memory: 387M/1059M
 [INFO]
 
 [ERROR] Failed to execute goal
 org.apache.maven.plugins:maven-compiler-plugin:2.
 3.1:compile (default-compile) on project org.wso2.carbon.tomcat:
 Compilation fai
 lure: Compilation failure:
 [ERROR] error: error reading
 C:\Users\Senaka\.m2\repository\org\wso2\carbon\java
 x.servlet\3.0.0.wso2v1\javax.servlet-3.0.0.wso2v1.jar; error in opening
 zip file
 [ERROR] error: error reading
 C:\Users\Senaka\.m2\repository\org\wso2\carbon\org.
 apache.tomcat\1.7.0.wso2v1\org.apache.tomcat-1.7.0.wso2v1.jar; error in
 opening
 zip file
 [ERROR] - [Help 1]
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with the
 -e swit
 ch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]

 Thanks,
 Senaka.

 --
 *Senaka Fernando*
 Product Manager - WSO2 Governance Registry;
 Associate Technical Lead; WSO2 Inc.; http://wso2.com*
 Member; Apache Software Foundation; http://apache.org

 E-mail: senaka AT wso2.com
 **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
 Linked-In: http://linkedin.com/in/senakafernando

 *Lean . Enterprise . Middleware




-- 
*Senaka Fernando*
Product Manager - WSO2 Governance Registry;
Associate Technical Lead; WSO2 Inc.; http://wso2.com*
Member; Apache Software Foundation; http://apache.org

E-mail: senaka AT wso2.com
**P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
Linked-In: http://linkedin.com/in/senakafernando

*Lean . Enterprise . Middleware
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Carbon Does not Build on a Clean Repo on Windows

2012-02-16 Thread Senaka Fernando
Hi all,

Just tried opening the JAR file using an Archive Manager, and it is
corrupted. So, as it seems this jar file that gets produced out of the
build is corrupted, and therefore the build fails.

Thanks,
Senaka.
On Fri, Feb 17, 2012 at 10:46 AM, Senaka Fernando sen...@wso2.com wrote:

 Hi all,
 Found that the potential culprit is this commit: r120782. Pradeep, any
 thoughts on why this happens?
  Thanks,
 Senaka.
 On Fri, Feb 17, 2012 at 9:40 AM, Senaka Fernando sen...@wso2.com wrote:

 Hi all,

 Can we urgently fix this? We cannot work on the release items until the
 build is stable and it is absolutely crucial that we understand the
 stability of the build is of utmost importance irrespective of the
 restructuring going on.

 [INFO]
 
 [INFO] BUILD FAILURE
 [INFO]
 
 [INFO] Total time: 3:20.402s
 [INFO] Finished at: Fri Feb 17 09:38:48 IST 2012
 [INFO] Final Memory: 387M/1059M
 [INFO]
 
 [ERROR] Failed to execute goal
 org.apache.maven.plugins:maven-compiler-plugin:2.
 3.1:compile (default-compile) on project org.wso2.carbon.tomcat:
 Compilation fai
 lure: Compilation failure:
 [ERROR] error: error reading
 C:\Users\Senaka\.m2\repository\org\wso2\carbon\java
 x.servlet\3.0.0.wso2v1\javax.servlet-3.0.0.wso2v1.jar; error in opening
 zip file
 [ERROR] error: error reading
 C:\Users\Senaka\.m2\repository\org\wso2\carbon\org.
 apache.tomcat\1.7.0.wso2v1\org.apache.tomcat-1.7.0.wso2v1.jar; error in
 opening
 zip file
 [ERROR] - [Help 1]
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with the
 -e swit
 ch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]

 Thanks,
 Senaka.

 --
 *Senaka Fernando*
 Product Manager - WSO2 Governance Registry;
 Associate Technical Lead; WSO2 Inc.; http://wso2.com*
 Member; Apache Software Foundation; http://apache.org

 E-mail: senaka AT wso2.com
 **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
 Linked-In: http://linkedin.com/in/senakafernando

 *Lean . Enterprise . Middleware




 --
 *Senaka Fernando*
 Product Manager - WSO2 Governance Registry;
 Associate Technical Lead; WSO2 Inc.; http://wso2.com*
 Member; Apache Software Foundation; http://apache.org

 E-mail: senaka AT wso2.com
 **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
 Linked-In: http://linkedin.com/in/senakafernando

 *Lean . Enterprise . Middleware




-- 
*Senaka Fernando*
Product Manager - WSO2 Governance Registry;
Associate Technical Lead; WSO2 Inc.; http://wso2.com*
Member; Apache Software Foundation; http://apache.org

E-mail: senaka AT wso2.com
**P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
Linked-In: http://linkedin.com/in/senakafernando

*Lean . Enterprise . Middleware
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev