From dev-return-17675-archive-asf-public=cust-asf.ponee.io@syncope.apache.org Thu Sep 26 11:42:54 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 2BABA1804BB for ; Thu, 26 Sep 2019 13:42:54 +0200 (CEST) Received: (qmail 2780 invoked by uid 500); 26 Sep 2019 11:42:53 -0000 Mailing-List: contact dev-help@syncope.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@syncope.apache.org Delivered-To: mailing list dev@syncope.apache.org Received: (qmail 2769 invoked by uid 99); 26 Sep 2019 11:42:53 -0000 Received: from Unknown (HELO mailrelay1-lw-us.apache.org) (10.10.3.42) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Sep 2019 11:42:53 +0000 Received: from [192.168.0.3] (smtp.tirasa.net [93.34.9.207]) by mailrelay1-lw-us.apache.org (ASF Mail Server at mailrelay1-lw-us.apache.org) with ESMTPSA id 12102622B for ; Thu, 26 Sep 2019 11:42:52 +0000 (UTC) Subject: Re: Running Syncope from source? To: dev@syncope.apache.org References: <1584290562.3700.1568719091698.JavaMail.zimbra@tirasa.net> <1592039432.2025.1568970202559.JavaMail.zimbra@tirasa.net> <1699190601.578.1569129030530.JavaMail.zimbra@tirasa.net> <1141147549.3161.1569483042206.JavaMail.zimbra@tirasa.net> From: =?UTF-8?Q?Francesco_Chicchiricc=c3=b2?= Openpgp: preference=signencrypt Autocrypt: addr=ilgrosso@apache.org; prefer-encrypt=mutual; keydata= mQENBE9EncsBCAC02uAixULU/lI6u7y2a4hPLZ+J9eb1ZNVrg4iockEktP39C8zsve4rxltc 9SnT5wa2XwVTwiSl8HjxFGmc/CyMP4l+JLYLqAxvN25BXzoC7pvIpH5VcXMnTKP2bqIcIQ3H bR2gLxjxlEzRBgmzsnrtNWhlCi4DNuUcarMrza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0MT7Sc98oeFHggAro4b3tGyKCV7tMz8q9drqigl/6n+ /2riaumndUcPFZOsewDmg/75jszjc6hoe7wreBkJi0u8kvm6F0RpIlGk5WpCa7bljEc6Erm9 GLON/DoYn1MSpdMZdwucairqvMK1YWg/7wI/xjgq6br5FBoLegVE8bd3Iy4SVWKUIRURBF7q Ft3rVRUJdcmqHvCWpxDJ1VKPRDHf5szVkWXFJI0xiU6KuICWidZ9Hg3WXUsm3SePD7FtokiK 0Y9SBzHpd9EZe8KRIHekl5gVS2Xe83GC5GvPHEXE0usYUNRDArOXqIkGUCWHZ7gzueMBcWqW x+uxeS7bQfZZO/7ew7lIDf4gYA== Message-ID: Date: Thu, 26 Sep 2019 13:42:51 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <1141147549.3161.1569483042206.JavaMail.zimbra@tirasa.net> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US On 26/09/19 09:30, Misagh Moayyed wrote: > Thanks very much. This was quite helpful. You are welcome glad it was it. > ----- Original Message ----- >> From: "Francesco Chicchiriccò" >> To: "dev" >> Sent: Sunday, September 22, 2019 8:40:30 AM >> Subject: Re: Running Syncope from source? >> On 20-set-19, alle 11:03, Misagh Moayyed misagh.moayyed@tirasa.net wrote: >> >>>> First run >>>> >>>> mvn -PskipTests,all >>>> >>>> from root folder. >>>> >>>> Then if you want to run only Syncope Core, with JPDA debug on localhost:8000: >>>> >>>> cd fit/core-refererence >>>> mvn -Pdebug,all (or -P debug if you don't want extensions) >>>> >>>> If you want to run Syncope Core and Console, with JPDA debug on localhost:8000: >>>> >>>> cd fit/console-reference >>>> mvn -Pdebug >>>> >>>> If you want to run Syncope Core, Console and Enduser, with JPDA debug on >>>> localhost:8000: >>>> >>>> cd fit/enduser-reference >>>> mvn -Pdebug >>> >>> Thank you. >>> >>> Let's say I want to run Syncope Core and Console. I can issue the required >>> commands and then set up a debugger over port 8000. All good. What I am not >>> sure about is, how do I bring up the web UI for Syncope's console to login and >>> click around? (i.e. Something like http://localhost:8080/syncope-console). >> Yep, but only because the Tomcat listening port is 9080, not 8080. >> >> When starting as indicated above, the components and URLs available match the >> ones available when starting standalone or projects generated from archetype, >> e.g. >> >> http://syncope.apache.org/docs/2.1/getting-started.html#paths-and-components >> >>> Running commands from the "fit" folder structure seems to suggest that I want >>> to run integration tests, where in fact, I want to be able to bring up the Web >>> UI for relevant components and step into running code. >> The point is that having a full-blown Syncope environment is not easy, as >> several components have to be available - see above; since we have a setup for >> running integration tests which does that, we have also added the debug / >> hotswap profiles with exact purpose to "bring up the Web UI for relevant >> components and step into running code" - mainly in order to spot and squash >> bugs. >> >> Regards. -- Francesco Chicchiriccò Tirasa - Open Source Excellence http://www.tirasa.net/ Member at The Apache Software Foundation Syncope, Cocoon, Olingo, CXF, OpenJPA, PonyMail http://home.apache.org/~ilgrosso/