Return-Path: X-Original-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BF783D9AE for ; Wed, 17 Oct 2012 14:05:54 +0000 (UTC) Received: (qmail 84853 invoked by uid 500); 17 Oct 2012 14:05:54 -0000 Delivered-To: apmail-incubator-cloudstack-dev-archive@incubator.apache.org Received: (qmail 84818 invoked by uid 500); 17 Oct 2012 14:05:54 -0000 Mailing-List: contact cloudstack-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-dev@incubator.apache.org Delivered-To: mailing list cloudstack-dev@incubator.apache.org Received: (qmail 84809 invoked by uid 99); 17 Oct 2012 14:05:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Oct 2012 14:05:54 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of rohit.yadav@citrix.com designates 203.166.19.134 as permitted sender) Received: from [203.166.19.134] (HELO SMTP.CITRIX.COM.AU) (203.166.19.134) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Oct 2012 14:05:50 +0000 X-IronPort-AV: E=Sophos;i="4.80,600,1344211200"; d="scan'208";a="13147227" Received: from banpmailmx01.citrite.net ([10.103.128.73]) by SYDPIPO01.CITRIX.COM.AU with ESMTP/TLS/RC4-MD5; 17 Oct 2012 14:04:43 +0000 Received: from BANPMAILBOX01.citrite.net ([10.103.128.71]) by BANPMAILMX01.citrite.net ([10.103.128.73]) with mapi; Wed, 17 Oct 2012 19:34:42 +0530 From: Rohit Yadav To: "cloudstack-dev@incubator.apache.org" Date: Wed, 17 Oct 2012 19:34:41 +0530 Subject: Re: [Maven] How to build on master Thread-Topic: [Maven] How to build on master Thread-Index: Ac2scFpoCkwosA2qQkOnwOultgNPhQ== Message-ID: <2C8D5423-3420-4153-A1FD-D39DB08FD243@citrix.com> References: <2A486979-C4D9-42A3-B269-97AD8A0A5051@citrix.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Hi Oliver, On 17-Oct-2012, at 6:46 PM, Olivier Lamy wrote: > 2012/10/11 Rohit Yadav : >> With some minor build fixes I'm able to build, deploydb and debug using = Maven now. Pl. start using master branch as Hugo suggested so we can weed o= ut issues with maven. >>=20 >> Updated: https://cwiki.apache.org/confluence/display/CLOUDSTACK/Building= +with+Maven#BuildingwithMaven-BuildingCloudStack >>=20 >> Quick steps: >>=20 >> 1. Export maven settings to have a debugger on port 8787, on your IDE se= lect debugger type to listen on socket port 8787 (as before): >> $ export MAVEN_OPTS=3D"-Xmx1024m -Xdebug -Xrunjdwp:transport=3Ddt_socket= ,address=3D8787,server=3Dy,suspend=3Dy" >>=20 >> 2. Clean source tree and build: >> $ mvn clean && mvn install >>=20 >> 3. Deploy database: >> $ mvn -P developer -pl developer -Ddeploydb >>=20 >> 4. Debug mgmt server server: >> $ mvn -pl :cloud-client-ui jetty:run >>=20 >> For 4, if MAVEN_OPTS was exported only then 4. will run jetty with a deb= ugger on 8787. For me it took a lot of time, but when I connect on my IDE a= nd disconnect it booted up faster. > using mvnDebug works too (the port is 8000) >=20 > Note: using tomcat-maven-plugin is IMHO is a bit simple and more > productive. As you don't have to install all modules/jars first. That would be great to not mvn install every time we make any change (got i= t what you were trying to say). > Just use tomcat7:run from the top module and all modules will be > compiled (if needed) and added to the webapp class path. When I do mvn tomcat7:run it fails and tries to load web app from awsapi. S= o, I commented out awsapi as a submodule in top level pom.xml, but then loc= alhost:8080/client which returns 404. > BTW I have fixed a bit of stuff in poms and it works now Failed to work for me, do we need to pass any profile or select any project= , I tried -pl :cloud-client-ui etc. but did not work. Thanks and regards. >=20 >>=20 >> Regards. >=20 >=20 >=20 > --=20 > Olivier Lamy > Talend: http://coders.talend.com > http://twitter.com/olamy | http://linkedin.com/in/olamy