Return-Path: Delivered-To: apmail-portals-jetspeed-dev-archive@www.apache.org Received: (qmail 6154 invoked from network); 21 Sep 2010 13:25:17 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 21 Sep 2010 13:25:17 -0000 Received: (qmail 17061 invoked by uid 500); 21 Sep 2010 13:25:17 -0000 Delivered-To: apmail-portals-jetspeed-dev-archive@portals.apache.org Received: (qmail 16844 invoked by uid 500); 21 Sep 2010 13:25:14 -0000 Mailing-List: contact jetspeed-dev-help@portals.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Jetspeed Developers List" Delivered-To: mailing list jetspeed-dev@portals.apache.org Received: (qmail 16831 invoked by uid 99); 21 Sep 2010 13:25:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Sep 2010 13:25:13 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of maccybex@gmail.com designates 209.85.216.43 as permitted sender) Received: from [209.85.216.43] (HELO mail-qw0-f43.google.com) (209.85.216.43) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Sep 2010 13:25:06 +0000 Received: by qwj8 with SMTP id 8so9322911qwj.2 for ; Tue, 21 Sep 2010 06:24:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=Jhm65mAShvF7muZhwWNEL4EDDYWSvabdi6IVNigwzAM=; b=cAj9dR06Y8CVu4jdMoZNbz/yES3nn5MxQNWA8JF6ei5QOI4LueRaT6Udfo9t2lk4LX PQJT4K6T4M7sU86BaSdoElmJIKkb7VTcUXnfuLV+zCr6j+/bcyL5fUON0PLPRPdy/hQh js4lIuRRk4SqxkyYpvGk4Fg/xZK07T8oyEYwc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=rfZM2sMa60cMDvK4m0pV2nt0HzXAoUdSumx5KQrGiH12c/mi6zhdPF5jL9TROU451E 2uspUl6tcHFsufVmuFuVG+ZQf43HxYzSg/G66dQp1CL+Dlw0cWB1IV66Q7F1BPH6Iffr 0KJIiy4MYh3F0ZiH5q5Q2Vlj/Yjc6m8AuIkQE= MIME-Version: 1.0 Received: by 10.224.122.203 with SMTP id m11mr6890900qar.191.1285075485394; Tue, 21 Sep 2010 06:24:45 -0700 (PDT) Received: by 10.229.225.21 with HTTP; Tue, 21 Sep 2010 06:24:44 -0700 (PDT) In-Reply-To: References: Date: Tue, 21 Sep 2010 16:24:44 +0300 Message-ID: Subject: Re: Problem building JetSpeed 2 (Invalid or non-existing target directory) From: maccybex To: Jetspeed Developers List Content-Type: multipart/alternative; boundary=00c09f8e5c21d108160490c4f3b4 --00c09f8e5c21d108160490c4f3b4 Content-Type: text/plain; charset=ISO-8859-1 Hello David, Sorry, but second "s" was lost during copy-paste. Here is the correct output: D:\jetspeed\jetexpress>mvn jetspeed:mvn -Dtarget=all [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] jetexpress portal project [INFO] jetexpress portal [INFO] jetexpress portlet application [INFO] ------------------------------------------------------------------------ [INFO] Building jetexpress portal project [INFO] task-segment: [jetspeed:mvn] (aggregator-style) [INFO] ------------------------------------------------------------------------ [INFO] [jetspeed:mvn {execution: default-cli}] [INFO] Resolved target(s) order: [install-portal, install-pa, install, db-portal, db, deploy-portal, deploy-pa, all] [INFO] Executing target: install-portal [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Invalid or non-existing target directory D:\jetspeed\jetexpress-portal [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2 seconds [INFO] Finished at: Tue Sep 21 16:20:41 EEST 2010 [INFO] Final Memory: 9M/17M [INFO] ------------------------------------------------------------------------ After trying for a while, I decided to change system to GateIn from JBoss or uPortal (testing both now). Andrey! On Tue, Sep 21, 2010 at 7:52 AM, David Taylor wrote: > > D:\workspace\jetspeed\jetexpres > > Yes, you are missing an "s" -- thats weird. Recommend trying to build > it again. I tried the tutorial here -- I even went through the trouble > of trying this from a clean local maven repo on a Windows VM. After a > considerable amount of maven downloads - it worked fine. I suspected > there could actually be a bad archetype deployed somewhere, but I > couldn't reproduce it. Its looking more like it maybe a typo or single > backslash entered somewhere > > > On Thu, Sep 16, 2010 at 8:35 AM, maccybex wrote: > > Hello everyone, > > > > (I am following the official tutorial, this step can be found here > > http://portals.apache.org/jetspeed-2/tutorial/01/build-it.html) > > > > When I try to build jetexpress with mvn jetspeed:mvn -Dtarget=all, I get > the > > following error message: > > > > > --------------------------------BEGIN----------------------------------------- > > D:\workspace\jetspeed\jetexpress>mvn jetspeed:mvn -Dtarget=all > > [INFO] Scanning for projects... > > [INFO] Reactor build order: > > [INFO] jetexpress portal project > > [INFO] jetexpress portal > > [INFO] jetexpress portlet application > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] Building jetexpress portal project > > [INFO] task-segment: [jetspeed:mvn] (aggregator-style) > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] [jetspeed:mvn {execution: default-cli}] > > [INFO] Resolved target(s) order: [install-portal, install-pa, install, > > db-porta > > , db, deploy-portal, deploy-pa, all] > > [INFO] Executing target: install-portal > > [INFO] > > ------------------------------------------------------------------------ > > [ERROR] BUILD FAILURE > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] Invalid or non-existing target directory > > D:\workspace\jetspeed\jetexpres > > -portal > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] For more information, run Maven with the -e switch > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] Total time: 2 seconds > > [INFO] Finished at: Thu Sep 16 18:15:34 EEST 2010 > > [INFO] Final Memory: 9M/17M > > [INFO] > > ------------------------------------------------------------------------ > > > ----------------------------------END------------------------------------------ > > > > > > I've modified jetspeed-mvn-settings.xml according to the official > tutorial; > > these are the changes I've made: > > > C:/tomcat/ > > > jdbc:derby:C:/jetspeed/derby/productiondb;create=true > > > > Tomcat 6 server is already there and the database should be created at > this > > location. > > > > Also, I've created settings.xml at C:\Documents and Settings\Username\.m2 > > with the following contents (without begin and end lines): > > > > > --------------------------------BEGIN----------------------------------------- > > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 > > http://maven.apache.org/xsd/settings-1.0.0.xsd"> > > > > > > org.apache.portals.jetspeed-2 > > > > > > > > > > > > > ----------------------------------END------------------------------------------ > > > > > > Path D:\workspace\jetspeed conatins directory from > > jetspeed-2-2.2.1-source-release.zip, and D:\workspace\jetspeed\jetexpress > > contains the result of > > "mvn org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-4:generate > > -DarchetypeGroupId=org.apache.portals.jetspeed-2 > > -DarchetypeArtifactId=jetspeed-archetype -DarchetypeVersion=2.2.1 > > -DartifactId=jetexpress -Dpackage=org.apache.portals.tutorials > > -DgroupId=org.apache.portals.tutorials -Dversion=1.0-SNAPSHOT". > > > > > > Could you please tell me what is wrong with my build? > > It seems the directory is misplaced: it shows > > D:\workspace\jetspeed\jetexpres-portal in this message, but it should be > > D:\workspace\jetspeed\jetexpress\jetexpress-portal. > > I am using Windows XP SP2, JDK 1.6, Tomcat 6. > > > > > > Thanks for any information! > > > > Best regards, > > Andrey! > > > > > > -- > David > > --------------------------------------------------------------------- > To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org > For additional commands, e-mail: jetspeed-dev-help@portals.apache.org > > --00c09f8e5c21d108160490c4f3b4--