Compile and deploy project
Submitted by Guest on Tue, 28/10/2008 - 07:32
Hello,
I have downloaded from svn all the source code nd I'd to compile and deploy it.
Would it be possible to get a Netbeans or Eclipse project file to help me.
I had a look also at the "Getting Started" but it is still using maven 1.0.2. Is there a new version of that docmentation ?
Thanks in advance.
Regards.
Daniel.
RE: [OpenVPMS Developers] Compile and deploy project
We still currently utilise Maven 1.02 for all the current projects as we have not had the resources to move the project to maven 2 and redo the documentation. We plan to do this in the future. Obviously we would appreciate any help we could get to make this happen ..
I suggest you install maven 1.02 as per the documentation and utilise it for doing the source builds. You can then utilise the maven eclipse target to generate the necessary .classpath and .project files for an eclipse project i.e run
maven eclipse
in the folder where you have installed the source and then import the project into Eclipse.
Cheers Tony
-----Original Message----- From: developers-bounces@lists.openvpms.org [mailto:developers-bounces@lists.openvpms.org]On Behalf Of daniel.dricot@hotmail.fr Sent: Tuesday, 28 October 2008 07:32 To: developers@lists.openvpms.org Subject: [OpenVPMS Developers] Compile and deploy project
Hello,
I have downloaded from svn all the source code nd I'd to compile and deploy it. Would it be possible to get a Netbeans or Eclipse project file to help me.
I had a look also at the "Getting Started" but it is still using maven 1.0.2. Is there a new version of that docmentation ?
Thanks in advance.
Regards.
Daniel. _______________________________________________ OpenVPMS Developers Mailing List developers@lists.openvpms.org http://lists.openvpms.org/mailman/listinfo/developers
_______________________________________________ OpenVPMS Developers Mailing List developers@lists.openvpms.org http://lists.openvpms.org/mailman/listinfo/developers
Compile and deploy project using Eclipse
Any updates to this?
RE: [OpenVPMS Developers] Compile and deploy project using Eclip
No. Still utilise maven 1.02.
I utilise Eclipse for development and have installed the tomcat plugin so i can deploy the project and manage tomcat for debugging purposes.
Cheers Tony
-----Original Message----- From: developers-bounces@lists.openvpms.org [mailto:developers-bounces@lists.openvpms.org]On Behalf Of atwong@alumni.uci.edu Sent: Saturday, 31 January 2009 18:50 To: developers@lists.openvpms.org Subject: [OpenVPMS Developers] Compile and deploy project using Eclipse
Any updates to this? _______________________________________________ OpenVPMS Developers Mailing List developers@lists.openvpms.org http://lists.openvpms.org/mailman/listinfo/developers
_______________________________________________ OpenVPMS Developers Mailing List developers@lists.openvpms.org http://lists.openvpms.org/mailman/listinfo/developers
RE: [OpenVPMS Developers] Compile and deploy project using Eclip
I'm trying to port everything to Eclipse so I don't have to bother with Apache Maven. I understand that I may lose some of the deployment and other addons that you guys have put in but it's maddening to work with Apache Maven when Eclipse has come so far.
Compile and deploy project
I also tried out the documentation for maven. The instructions aren't full complete and I believe there are errors. Following http://confluence.openvpms.org/confluence/display/VPMSPROJ/Getting+Started, here's what I found
1) Instructions assume that you've installed the CLI SVN client and that maven is installed and added to your %PATH%
-------------------------------
C:\openvpms\maven\bin\openvpms-vpms>maven scm:checkout -Dmaven.repo.remote=http:
//maven.openvpms.org,http://mirrors.ibiblio.org/pub/mirrors/maven,http://cvs.apa
che.org/repository/ -Dmaven.scm.url=scm:svn:svn://svn.openvpms.org/openvpms/vpms
/trunk -Dmaven.scm.checkout.dir=openvpms-vpms
__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0.2
Attempting to download xml-apis-1.3.04.jar.
Error retrieving artifact from [http://cvs.apache.org/repository/xml-apis/jars/x
ml-apis-1.3.04.jar]: java.io.IOException: Unknown error downloading; status code
was: 302
WARNING: Failed to download xml-apis-1.3.04.jar.
Attempting to download mysql-connector-java-5.1.5-bin.jar.
Error retrieving artifact from [http://cvs.apache.org/repository/mysql/jars/mysq
l-connector-java-5.1.5-bin.jar]: java.io.IOException: Unknown error downloading;
status code was: 302
WARNING: Failed to download mysql-connector-java-5.1.5-bin.jar.
Attempting to download jcommon-1.0.0.jar.
Error retrieving artifact from [http://cvs.apache.org/repository/jcommon/jars/jc
ommon-1.0.0.jar]: java.io.IOException: Unknown error downloading; status code wa
s: 302
WARNING: Failed to download jcommon-1.0.0.jar.
The build cannot continue because of the following unsatisfied dependencies:
xml-apis-1.3.04.jar (try downloading from http://xerces.apache.org/)
mysql-connector-java-5.1.5-bin.jar (try downloading from http://www.mysql.com)
jcommon-1.0.0.jar (try downloading from http://www.jfree.org/jfreechart/)
Total time: 3 seconds
Finished at: Sun Feb 01 14:09:04 PST 2009
--------------------------------
C:\openvpms\maven\bin\openvpms-vpms>maven -Dmaven.test.skip clean war:install
__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0.2
Attempting to download xml-apis-1.3.04.jar.
WARNING: Failed to download xml-apis-1.3.04.jar.
Attempting to download mysql-connector-java-5.1.5-bin.jar.
WARNING: Failed to download mysql-connector-java-5.1.5-bin.jar.
Attempting to download jcommon-1.0.0.jar.
WARNING: Failed to download jcommon-1.0.0.jar.
The build cannot continue because of the following unsatisfied dependencies:
xml-apis-1.3.04.jar (try downloading from http://xerces.apache.org/)
mysql-connector-java-5.1.5-bin.jar (try downloading from http://www.mysql.com)
jcommon-1.0.0.jar (try downloading from http://www.jfree.org/jfreechart/)
Total time: 4 seconds
Finished at: Sun Feb 01 14:01:06 PST 2009
Re: [OpenVPMS Developers] Re: Compile and deploy project
This is now in the openvpms repository.
> mysql-connector-java-5.1.5-bin.jar (try downloading from > http://www.mysql.com) We can't put this in the repository due to licensing constraints. > jcommon-1.0.0.jar (try downloading from http://www.jfree.org/jfreechart/)This is now in the openvpms repository. It really should have a 'jfree' maven groupId instead of 'jcommon'. I'll fix this in a later release.
-Tim _______________________________________________ OpenVPMS Developers Mailing List developers@lists.openvpms.org http://lists.openvpms.org/mailman/listinfo/developers