Re: Build fails with Maven while building MCF from trunk
On 12.04.12 23.46, Karl Wright wrote: The build process has changed. The incubator required we remove all binaries. You will need to do one of the following: (a) Download the -lib package from the release candidate and follow the instructions I tried to place all the jars from the lib distribution into a lib folder in my working trunk version. I tried to follow the instructions in the README file. What exactly is the corresponding lib distribution if you work with trunk? The latest 0.5 release? Here's what I did: 1. Downloaded apache-manifoldcf-0.5-incubating-lib.tar.gz and unpacked it 2. Created a lib directory in the project root and copied all jars from the lib distribution into that directory 3. ran ant build (nothing really happens) 4. Tried ant make-deps followed by ant build. I guess there is one detail I have missed. Your suggestions work perfectly if I download the corresponding source package, but not with the latest version from trunk. Erlend (b) Make sure you have svn 1.7 installed and run ant make-core-deps It's not straight forward to upgrade SVN to version 1.7 on OS X. Fink is the most common tool for installing/upgrading SVN, but the current/stable version is 1.6.17-4: http://pdb.finkproject.org/pdb/package.php/svn If I _should_ use SVN 1.7, I can try to install it from MacPorts. Erlend -- Erlend Garåsen Center for Information Technology Services University of Oslo P.O. Box 1086 Blindern, N-0317 OSLO, Norway Ph: (+47) 22840193, Fax: (+47) 22852970, Mobile: (+47) 91380968, VIP: 31050
Re: Build fails with Maven while building MCF from trunk
Trunk is now built using different jars because we've gone to jdk 1.6. On trunk there is no -lib distribution you can download; you must build it: ant clean-core-deps make-core-deps Thanks, Karl On Tue, Apr 24, 2012 at 3:13 PM, Erlend Garåsen e.f.gara...@usit.uio.no wrote: On 12.04.12 23.46, Karl Wright wrote: The build process has changed. The incubator required we remove all binaries. You will need to do one of the following: (a) Download the -lib package from the release candidate and follow the instructions I tried to place all the jars from the lib distribution into a lib folder in my working trunk version. I tried to follow the instructions in the README file. What exactly is the corresponding lib distribution if you work with trunk? The latest 0.5 release? Here's what I did: 1. Downloaded apache-manifoldcf-0.5-incubating-lib.tar.gz and unpacked it 2. Created a lib directory in the project root and copied all jars from the lib distribution into that directory 3. ran ant build (nothing really happens) 4. Tried ant make-deps followed by ant build. I guess there is one detail I have missed. Your suggestions work perfectly if I download the corresponding source package, but not with the latest version from trunk. Erlend (b) Make sure you have svn 1.7 installed and run ant make-core-deps It's not straight forward to upgrade SVN to version 1.7 on OS X. Fink is the most common tool for installing/upgrading SVN, but the current/stable version is 1.6.17-4: http://pdb.finkproject.org/pdb/package.php/svn If I _should_ use SVN 1.7, I can try to install it from MacPorts. Erlend -- Erlend Garåsen Center for Information Technology Services University of Oslo P.O. Box 1086 Blindern, N-0317 OSLO, Norway Ph: (+47) 22840193, Fax: (+47) 22852970, Mobile: (+47) 91380968, VIP: 31050
Re: Build fails with Maven while building MCF from trunk
On 24.04.12 21.16, Karl Wright wrote: ant clean-core-deps make-core-deps OK, SVN 1.7 is required. I can try to install it from MacPorts. patch-source-via-svn: [exec] Unknown command: 'patch' [exec] Type 'svn help' for usage. BUILD FAILED -- Erlend Garåsen Center for Information Technology Services University of Oslo P.O. Box 1086 Blindern, N-0317 OSLO, Norway Ph: (+47) 22840193, Fax: (+47) 22852970, Mobile: (+47) 91380968, VIP: 31050
Re: Build fails with Maven while building MCF from trunk
I knew there were some changes due to new requirements from Apache Incubator, but unfortunately I have been abroad the last month and haven't paid attention. Sorry about that. Thanks for your help! Erlend On 12.04.12 23.46, Karl Wright wrote: The build process has changed. The incubator required we remove all binaries. You will need to do one of the following: (a) Download the -lib package from the release candidate and follow the instructions (b) Make sure you have svn 1.7 installed and run ant make-core-deps Only then will ant build or mvn-bootstrap work. This is also explained in the readme. Thanks, Karl On Thu, Apr 12, 2012 at 4:49 PM, Erlend Garåsene.f.gara...@usit.uio.no wrote: It fails on Linux as well on OSX. I just tried to run ant build and ant test on our Linux development server as well on my laptop. Well, I get BUILD SUCCESSFUL, but nothing really happens. No tests run at all. Erlend On 12.04.12 22.38, Erlend Garåsen wrote: Yes, but it fails as I wrote. I think something is broken in trunk at the moment. ant test and ant build fails as well. I double-checked by doing another svn co. Erlend On 12.04.12 22.18, Karl Wright wrote: You need to run the mvn-bootstrap script, as per the instructions. Karl On Thu, Apr 12, 2012 at 4:17 PM, Erlend Garåsene.f.gara...@usit.uio.no wrote: I did a svn co in order to get a fresh version of MCF from trunk since I had many temporary code changes which shouldn't be committed, and then I discovered some problems. I'm mentioning this in case there are similar problems with the RC6 candidate. When I run mvn-bootstrap.sh, the build fails after the dependencies have been downloaded: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.3.1:install-file (default-cli) on project mcf-parent: Error installing artifact 'xml-security:xmlsec:jar': Failed to install artifact xml-security:xmlsec:jar:1.4.1: /Users/erlendfg/tmp/mcf_2012/lib/xmlsec.jar (No such file or directory) - [Help 1] I1m using Apache Maven 3.0.4 Erlend -- Erlend Garåsen Center for Information Technology Services University of Oslo P.O. Box 1086 Blindern, N-0317 OSLO, Norway Ph: (+47) 22840193, Fax: (+47) 22852970, Mobile: (+47) 91380968, VIP: 31050 -- Erlend Garåsen Center for Information Technology Services University of Oslo P.O. Box 1086 Blindern, N-0317 OSLO, Norway Ph: (+47) 22840193, Fax: (+47) 22852970, Mobile: (+47) 91380968, VIP: 31050 -- Erlend Garåsen Center for Information Technology Services University of Oslo P.O. Box 1086 Blindern, N-0317 OSLO, Norway Ph: (+47) 22840193, Fax: (+47) 22852970, Mobile: (+47) 91380968, VIP: 31050
Build fails with Maven while building MCF from trunk
I did a svn co in order to get a fresh version of MCF from trunk since I had many temporary code changes which shouldn't be committed, and then I discovered some problems. I'm mentioning this in case there are similar problems with the RC6 candidate. When I run mvn-bootstrap.sh, the build fails after the dependencies have been downloaded: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.3.1:install-file (default-cli) on project mcf-parent: Error installing artifact 'xml-security:xmlsec:jar': Failed to install artifact xml-security:xmlsec:jar:1.4.1: /Users/erlendfg/tmp/mcf_2012/lib/xmlsec.jar (No such file or directory) - [Help 1] I1m using Apache Maven 3.0.4 Erlend -- Erlend Garåsen Center for Information Technology Services University of Oslo P.O. Box 1086 Blindern, N-0317 OSLO, Norway Ph: (+47) 22840193, Fax: (+47) 22852970, Mobile: (+47) 91380968, VIP: 31050
Re: Build fails with Maven while building MCF from trunk
You need to run the mvn-bootstrap script, as per the instructions. Karl On Thu, Apr 12, 2012 at 4:17 PM, Erlend Garåsen e.f.gara...@usit.uio.no wrote: I did a svn co in order to get a fresh version of MCF from trunk since I had many temporary code changes which shouldn't be committed, and then I discovered some problems. I'm mentioning this in case there are similar problems with the RC6 candidate. When I run mvn-bootstrap.sh, the build fails after the dependencies have been downloaded: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.3.1:install-file (default-cli) on project mcf-parent: Error installing artifact 'xml-security:xmlsec:jar': Failed to install artifact xml-security:xmlsec:jar:1.4.1: /Users/erlendfg/tmp/mcf_2012/lib/xmlsec.jar (No such file or directory) - [Help 1] I1m using Apache Maven 3.0.4 Erlend -- Erlend Garåsen Center for Information Technology Services University of Oslo P.O. Box 1086 Blindern, N-0317 OSLO, Norway Ph: (+47) 22840193, Fax: (+47) 22852970, Mobile: (+47) 91380968, VIP: 31050
Re: Build fails with Maven while building MCF from trunk
Yes, but it fails as I wrote. I think something is broken in trunk at the moment. ant test and ant build fails as well. I double-checked by doing another svn co. Erlend On 12.04.12 22.18, Karl Wright wrote: You need to run the mvn-bootstrap script, as per the instructions. Karl On Thu, Apr 12, 2012 at 4:17 PM, Erlend Garåsene.f.gara...@usit.uio.no wrote: I did a svn co in order to get a fresh version of MCF from trunk since I had many temporary code changes which shouldn't be committed, and then I discovered some problems. I'm mentioning this in case there are similar problems with the RC6 candidate. When I run mvn-bootstrap.sh, the build fails after the dependencies have been downloaded: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.3.1:install-file (default-cli) on project mcf-parent: Error installing artifact 'xml-security:xmlsec:jar': Failed to install artifact xml-security:xmlsec:jar:1.4.1: /Users/erlendfg/tmp/mcf_2012/lib/xmlsec.jar (No such file or directory) - [Help 1] I1m using Apache Maven 3.0.4 Erlend -- Erlend Garåsen Center for Information Technology Services University of Oslo P.O. Box 1086 Blindern, N-0317 OSLO, Norway Ph: (+47) 22840193, Fax: (+47) 22852970, Mobile: (+47) 91380968, VIP: 31050 -- Erlend Garåsen Center for Information Technology Services University of Oslo P.O. Box 1086 Blindern, N-0317 OSLO, Norway Ph: (+47) 22840193, Fax: (+47) 22852970, Mobile: (+47) 91380968, VIP: 31050
Re: Build fails with Maven while building MCF from trunk
It fails on Linux as well on OSX. I just tried to run ant build and ant test on our Linux development server as well on my laptop. Well, I get BUILD SUCCESSFUL, but nothing really happens. No tests run at all. Erlend On 12.04.12 22.38, Erlend Garåsen wrote: Yes, but it fails as I wrote. I think something is broken in trunk at the moment. ant test and ant build fails as well. I double-checked by doing another svn co. Erlend On 12.04.12 22.18, Karl Wright wrote: You need to run the mvn-bootstrap script, as per the instructions. Karl On Thu, Apr 12, 2012 at 4:17 PM, Erlend Garåsene.f.gara...@usit.uio.no wrote: I did a svn co in order to get a fresh version of MCF from trunk since I had many temporary code changes which shouldn't be committed, and then I discovered some problems. I'm mentioning this in case there are similar problems with the RC6 candidate. When I run mvn-bootstrap.sh, the build fails after the dependencies have been downloaded: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.3.1:install-file (default-cli) on project mcf-parent: Error installing artifact 'xml-security:xmlsec:jar': Failed to install artifact xml-security:xmlsec:jar:1.4.1: /Users/erlendfg/tmp/mcf_2012/lib/xmlsec.jar (No such file or directory) - [Help 1] I1m using Apache Maven 3.0.4 Erlend -- Erlend Garåsen Center for Information Technology Services University of Oslo P.O. Box 1086 Blindern, N-0317 OSLO, Norway Ph: (+47) 22840193, Fax: (+47) 22852970, Mobile: (+47) 91380968, VIP: 31050 -- Erlend Garåsen Center for Information Technology Services University of Oslo P.O. Box 1086 Blindern, N-0317 OSLO, Norway Ph: (+47) 22840193, Fax: (+47) 22852970, Mobile: (+47) 91380968, VIP: 31050
Re: Build fails with Maven while building MCF from trunk
The build process has changed. The incubator required we remove all binaries. You will need to do one of the following: (a) Download the -lib package from the release candidate and follow the instructions (b) Make sure you have svn 1.7 installed and run ant make-core-deps Only then will ant build or mvn-bootstrap work. This is also explained in the readme. Thanks, Karl On Thu, Apr 12, 2012 at 4:49 PM, Erlend Garåsen e.f.gara...@usit.uio.no wrote: It fails on Linux as well on OSX. I just tried to run ant build and ant test on our Linux development server as well on my laptop. Well, I get BUILD SUCCESSFUL, but nothing really happens. No tests run at all. Erlend On 12.04.12 22.38, Erlend Garåsen wrote: Yes, but it fails as I wrote. I think something is broken in trunk at the moment. ant test and ant build fails as well. I double-checked by doing another svn co. Erlend On 12.04.12 22.18, Karl Wright wrote: You need to run the mvn-bootstrap script, as per the instructions. Karl On Thu, Apr 12, 2012 at 4:17 PM, Erlend Garåsene.f.gara...@usit.uio.no wrote: I did a svn co in order to get a fresh version of MCF from trunk since I had many temporary code changes which shouldn't be committed, and then I discovered some problems. I'm mentioning this in case there are similar problems with the RC6 candidate. When I run mvn-bootstrap.sh, the build fails after the dependencies have been downloaded: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.3.1:install-file (default-cli) on project mcf-parent: Error installing artifact 'xml-security:xmlsec:jar': Failed to install artifact xml-security:xmlsec:jar:1.4.1: /Users/erlendfg/tmp/mcf_2012/lib/xmlsec.jar (No such file or directory) - [Help 1] I1m using Apache Maven 3.0.4 Erlend -- Erlend Garåsen Center for Information Technology Services University of Oslo P.O. Box 1086 Blindern, N-0317 OSLO, Norway Ph: (+47) 22840193, Fax: (+47) 22852970, Mobile: (+47) 91380968, VIP: 31050 -- Erlend Garåsen Center for Information Technology Services University of Oslo P.O. Box 1086 Blindern, N-0317 OSLO, Norway Ph: (+47) 22840193, Fax: (+47) 22852970, Mobile: (+47) 91380968, VIP: 31050