Raymond,

Well I am almost there... To make it work I had to add the following
line my mvn.bat file:

set MAVEN_OPTS=-Xms512m -Xmx1024m -XX:MaxPermSize=256m

Full mvn.bat context for reference:

@REM Start MAVEN2
:runm2
set MAVEN_OPTS=-Xms512m -Xmx1024m -XX:MaxPermSize=256m
%MAVEN_JAVA_EXE% %MAVEN_OPTS% -classpath %CLASSWORLDS_JAR%
"-Dclassworlds.conf=%M2_HOME%\bin\m2.conf" "-Dmaven.home=%M2_HOME%"
org.codehaus.classworlds.Launcher %MAVEN_CMD_LINE_ARGS%
if ERRORLEVEL 1 goto error
goto end 

I believe the above info should help other ursers to build tuscany sca
for the first time.  Can I contribute to the developer user guide wiki?

The other question I have is why are all testcases are executed despite
your recommendaiton - -Dmaven.test.skip=true?  They take a lot of
time... 

Once I build the whole sca for the first time - what mvn commands should
I use?

Thanks,
Radu Marian
CRM Services Architecture Team
Bank of America, Charlotte NC
(980) 387-6233
[EMAIL PROTECTED]

-----Original Message-----
From: Raymond Feng [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 22, 2008 1:32 PM
To: Marian, Radu
Cc: [email protected]
Subject: Re: svn checkout problem

Hi,

We should have published the SNAPSHOT versions more frequently. Anyway,
can you try to build the "modules" folder first and then "tutorial"? The
other option is to build the whole tree under "sca" using "mvn clean
install -fn -Dmaven.test.skip=true".

Thanks,
Raymond


From: Marian, Radu
Sent: Tuesday, April 22, 2008 10:19 AM
To: Raymond Feng
Subject: RE: svn checkout problem


Thanks Raymond,

That helped a bit.  Here is my next tutorial build error:
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1)
org.apache.tuscany.sca:tuscany-workspace-admin:jar:2.0-incubating-SNAPSH
OT

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.apache.tuscany.sca
-DartifactId=tuscany-workspace-admin
 -Dversion=2.0-incubating-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file
there:
      mvn deploy:deploy-file -DgroupId=org.apache.tuscany.sca
-DartifactId=tuscany-workspace-admin - Dversion=2.0-incubating-SNAPSHOT
-Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id ]

  Path to dependency:
        1)
org.apache.tuscany.sca:tutorial-domain:jar:2.0-incubating-SNAPSHOT
        2)
org.apache.tuscany.sca:tuscany-workspace-admin:jar:2.0-incubating-SNAPSH
OT

----------
1 required artifact is missing.

for artifact:
  org.apache.tuscany.sca:tutorial-domain:jar:2.0-incubating-SNAPSHOT

from the specified remote repositories:
  repo1.maven.org (http://repo1.maven.org/maven2),
  apache.incubator
(http://people.apache.org/repo/m2-incubating-repository),
  apache.ws.zone (http://ws.zones.apache.org/repository2),
  apache.snapshots
(http://people.apache.org/repo/m2-snapshot-repository)

Any idea?

Thanks,
Radu Marian
CRM Services Architecture Team
Bank of America, Charlotte NC
(980) 387-6233
[EMAIL PROTECTED]




------------------------------------------------------------------------
--------
From: Raymond Feng [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 22, 2008 12:54 PM
To: Marian, Radu
Subject: Re: svn checkout problem


I think you need to build the tools folder first.

Thanks,
Raymond


From: Marian, Radu 
Sent: Tuesday, April 22, 2008 9:34 AM
To: Raymond Feng 
Subject: RE: svn checkout problem


Raymond,

Thanks for your reply.  I did fix the svn by updating the web proxy
info.  

In order to use NodeLuncher - I thought I need to build the tutorial -
please let me know if I am wrong.  I am getting the following error when
building tutorial:

  Downloading:
http://people.apache.org/repo/m2-snapshot-repository/org/apache/tuscany/
sca/tuscany-mav
 
en-ant-generator/2.0-incubating-SNAPSHOT/tuscany-maven-ant-generator-2.0
-incubating-SNAPSHOT.pom
  Downloading:
http://snapshots.repository.codehaus.org/org/apache/tuscany/sca/tuscany-
maven-ant-gener
 
ator/2.0-incubating-SNAPSHOT/tuscany-maven-ant-generator-2.0-incubating-
SNAPSHOT.pom
  Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/tuscan
y/sca/tuscany-m
 
aven-ant-generator/2.0-incubating-SNAPSHOT/tuscany-maven-ant-generator-2
.0-incubating-SNAPSHOT.pom
  Downloading:
http://people.apache.org/repo/m2-snapshot-repository/org/apache/tuscany/
sca/tuscany-mav
 
en-ant-generator/2.0-incubating-SNAPSHOT/tuscany-maven-ant-generator-2.0
-incubating-SNAPSHOT.pom
  [INFO]
------------------------------------------------------------------------
  [ERROR] BUILD ERROR
  [INFO]
------------------------------------------------------------------------
  [INFO] Failed to resolve artifact.

  GroupId: org.apache.tuscany.sca
  ArtifactId: tuscany-maven-ant-generator
  Version: 2.0-incubating-SNAPSHOT

  Reason: Unable to download the artifact from any repository

 
org.apache.tuscany.sca:tuscany-maven-ant-generator:pom:2.0-incubating-SN
APSHOT

  from the specified remote repositories:
    repo1.maven.org (http://repo1.maven.org/maven2),
    apache.incubator
(http://people.apache.org/repo/m2-incubating-repository),
    apache.ws.zone (http://ws.zones.apache.org/repository2),
    apache.snapshots
(http://people.apache.org/repo/m2-snapshot-repository),
    codehaus-snapshot (http://snapshots.repository.codehaus.org)
Any idea where can I get the above dependency?

Thanks,
Radu Marian
CRM Services Architecture Team
Bank of America, Charlotte NC
(980) 387-6233
[EMAIL PROTECTED]




------------------------------------------------------------------------
--------
From: Raymond Feng [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 22, 2008 11:49 AM
To: Marian, Radu
Subject: Re: svn checkout problem


Hi,

Is this a firewall-related issue? You could try to ping svn.apache.org
or open a browser window and point to
http://svn.apache.org/repos/asf/incubator/tuscany/java/sca. You should
be able to see the svn repo.

Thanks,
Raymond

From: Marian, Radu 
Sent: Tuesday, April 22, 2008 6:57 AM
To: [EMAIL PROTECTED] 
Subject: svn checkout problem


Raymond,

I am sorry to bug you with such a simple question.  While trying to get
latest using svn - i am getting the following error:

C:\apache-tuscany\svn>svn checkout
http://svn.apache.org/repos/asf/incubator/tuscany/java/sca
svn: PROPFIND request failed on '/repos/asf/incubator/tuscany/java/sca'
svn: PROPFIND of '/repos/asf/incubator/tuscany/java/sca': Could not
resolve hostname `svn.apache.org
': No such host is known.   (http://svn.apache.org)

Can you please help,

Thanks,
Radu Marian
CRM Services Architecture Team
Bank of America, Charlotte NC
(980) 387-6233
[EMAIL PROTECTED]

Reply via email to