Hi all,
This has probably been answered on this list before, but I can't find
the info - how do I stop maven needing a network connection? I'm
running the calculator-combo sample and finding that it fails if I'm
not connected due to an "unable to resolve artifact" error.
I'm sure the answer is t
Not 100% sure if this is what your asking for but "-o" for "offline"? But I'll
offer it anyway.
Andrew Borley wrote:
Hi all,
This has probably been answered on this list before, but I can't find
the info - how do I stop maven needing a network connection? I'm
running the calculator-combo samp
Which artifact is it unable to resolve?
--
Jeremy
On Dec 11, 2006, at 6:48 AM, Andrew Borley wrote:
Hi all,
This has probably been answered on this list before, but I can't find
the info - how do I stop maven needing a network connection? I'm
running the calculator-combo sample and finding tha
Hi,
I guess there is a variable "offline" that you must set to true when
running the launcher to run the samples. java -jar bin\launcher
offline=true I checked up with the code for the system.getProperty it
uses and I find 'offline' there as well. So hope this works for you.:)
- Venkat
Hi Jeremy,
The Exception I get is:
Exception in thread "main"
org.apache.tuscany.spi.component.TargetException: Error initializing
component instance [directoryScanExtender]
at
org.apache.tuscany.core.implementation.PojoAtomicComponent.init(PojoAtomicComponent.java:96)
and then further d
Thanks Venkat,
Unfortunately however, this doesn't work - I get the same exception.
It does seem to give some different maven log messages however, so it
does do something!
Cheers
Andy
On 12/11/06, Venkata Krishnan <[EMAIL PROTECTED]> wrote:
Hi,
I guess there is a variable "offline" that yo
Andy, the offline mode is set via a Java system property so you need to
prefix it with -D, eg:
C:\Tuscany\Dist\m2-samples\standalone\calculator-combo>java -Doffline=true
-jar target\distribution\bin\launcher.jar target\sample-calculator-combo.jar
For that to work you must have first run the samp
Also, speculating that you may want the calculatorws to also run offline you
can do that by rebuilding the calculatorws sample with the following two
changes:
calculatorws\src\main\webapp\WEB-INF\web.xml add:
tuscany.online
false
calculatorws\pom.xml change loadExtensionDependencies f
Hi Ant,
Thanks for the info - I was putting my -Doffline flag in the wrong
place. It works now!
A further question - is it possible to build and deploy the samples in
an offline mode? Does this just depend on having the right stuff in
your local repository?
Cheers
Andy
On 12/11/06, ant elder
On 12/12/06, Andrew Borley <[EMAIL PROTECTED]> wrote:
Hi Ant,
Thanks for the info - I was putting my -Doffline flag in the wrong
place. It works now!
A further question - is it possible to build and deploy the samples in
an offline mode? Does this just depend on having the right stuff in
your l
10 matches
Mail list logo