Discover Sling in 15 minutes

classic Classic list List threaded Threaded
20 messages Options
Reply | Threaded
Open this post in threaded view
|

Discover Sling in 15 minutes

Bertrand Delacretaz
I've started working on this page:

http://cwiki.apache.org/confluence/display/SLING/Discover+Sling+in+15+minutes

To help people get started with the Launchpad.

The page will eventually move to the Sling website, but for now guinea
pigs^H^H^H^H^H^H^H^H beta testers are welcome!

-Bertrand

Reply | Threaded
Open this post in threaded view
|

Re: Discover Sling in 15 minutes

Peter Svensson
Great!!! Ahem. I hope to contribute soon :)  Meanwhile, I've written a blog
about it;
http://unclescript.blogspot.com/2008/01/sling-tutorial-online.html

Very good introduction!


Cheers,
PS

On Jan 29, 2008 12:22 PM, Bertrand Delacretaz <[hidden email]>
wrote:

> I've started working on this page:
>
>
> http://cwiki.apache.org/confluence/display/SLING/Discover+Sling+in+15+minutes
>
> To help people get started with the Launchpad.
>
> The page will eventually move to the Sling website, but for now guinea
> pigs^H^H^H^H^H^H^H^H beta testers are welcome!
>
> -Bertrand
>
Reply | Threaded
Open this post in threaded view
|

Re: Discover Sling in 15 minutes

Torgeir Veimo
In reply to this post by Bertrand Delacretaz

On 29 Jan 2008, at 21:22, Bertrand Delacretaz wrote:

> I've started working on this page:
>
> http://cwiki.apache.org/confluence/display/SLING/Discover+Sling+in+15+minutes

When running mvn jetty:run in launchpad/launchpad-webapp I get

[...]
[INFO] [compiler:testCompile]
[INFO] Compiling 29 source files to /Users/torgeir/java/src/sling/
15minutes/sling/launchpad/launchpad-webapp/target/test-classes
[INFO]  
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]  
------------------------------------------------------------------------
[INFO] Compilation failure

/Users/torgeir/java/src/sling/15minutes/sling/launchpad/launchpad-
webapp/src/test/java/org/apache/sling/launchpad/webapp/integrationtest/
ujax/PostServletDeleteTest.java:[44,75] cannot find symbol
symbol  : variable DEFAULT_CREATE_SUFFIX
location: class org.apache.sling.ujax.UjaxPostServlet

/Users/torgeir/java/src/sling/15minutes/sling/launchpad/launchpad-
webapp/src/test/java/org/apache/sling/launchpad/webapp/integrationtest/
ujax/PostServletDeleteTest.java:[45,75] cannot find symbol
symbol  : variable DEFAULT_CREATE_SUFFIX
location: class org.apache.sling.ujax.UjaxPostServlet

--
Torgeir Veimo
[hidden email]




Reply | Threaded
Open this post in threaded view
|

Re: Discover Sling in 15 minutes

Bertrand Delacretaz
On Jan 29, 2008 1:40 PM, Torgeir Veimo <[hidden email]> wrote:

> ....When running mvn jetty:run in launchpad/launchpad-webapp I get
>
> .../Users/torgeir/java/src/sling/15minutes/sling/launchpad/launchpad-
> webapp/src/test/java/org/apache/sling/launchpad/webapp/integrationtest/
> ujax/PostServletDeleteTest.java:[44,75] cannot find symbol
> symbol  : variable DEFAULT_CREATE_SUFFIX...

That constant comes from

sling/launchpad/launchpad-servlets/src/main/java/org/apache/sling/ujax/UjaxPostServlet.java

did you svn up your sling folder and rebuild it all with "mvn clean install"?

I just did this on revision 616292and it worked, including the
compilation and tests that fail for you.

-Bertrand

Reply | Threaded
Open this post in threaded view
|

Re: Discover Sling in 15 minutes

Torgeir Veimo

On 29 Jan 2008, at 23:01, Bertrand Delacretaz wrote:

> On Jan 29, 2008 1:40 PM, Torgeir Veimo <[hidden email]> wrote:
>
>> ....When running mvn jetty:run in launchpad/launchpad-webapp I get
>>
>> .../Users/torgeir/java/src/sling/15minutes/sling/launchpad/launchpad-
>> webapp/src/test/java/org/apache/sling/launchpad/webapp/
>> integrationtest/
>> ujax/PostServletDeleteTest.java:[44,75] cannot find symbol
>> symbol  : variable DEFAULT_CREATE_SUFFIX...
>
> That constant comes from
>
> sling/launchpad/launchpad-servlets/src/main/java/org/apache/sling/
> ujax/UjaxPostServlet.java
>
> did you svn up your sling folder and rebuild it all with "mvn clean  
> install"?


Yes. Did an svn update, and now I get another error. I'll try again a  
bit later..


[ERROR] BUILD FAILURE
[INFO]  
------------------------------------------------------------------------
[INFO] Compilation failure
/Users/torgeir/java/src/sling/15minutes/sling/jcr/resource/src/main/
java/org/apache/sling/jcr/resource/internal/JcrResourceResolver.java:
[63,7] org.apache.sling.jcr.resource.internal.JcrResourceResolver is  
not abstract and does not override abstract method  
map(java.lang.String) in org.apache.sling.api.resource.ResourceResolver



/Users/torgeir/java/src/sling/15minutes/sling/jcr/resource/src/main/
java/org/apache/sling/jcr/resource/internal/JcrResourceResolver.java:
[63,7] org.apache.sling.jcr.resource.internal.JcrResourceResolver is  
not abstract and does not override abstract method  
map(java.lang.String) in org.apache.sling.api.resource.ResourceResolver

--
Torgeir Veimo
[hidden email]




Reply | Threaded
Open this post in threaded view
|

Re: Discover Sling in 15 minutes

Felix Meschberger-2
Hi Torgeir,

Sorry for that, I am currently committing SLING-198 fixes. If you update
the jcr/resource project now, it should compile.

Regards
Felix

Am Dienstag, den 29.01.2008, 23:47 +1000 schrieb Torgeir Veimo:

> On 29 Jan 2008, at 23:01, Bertrand Delacretaz wrote:
>
> > On Jan 29, 2008 1:40 PM, Torgeir Veimo <[hidden email]> wrote:
> >
> >> ....When running mvn jetty:run in launchpad/launchpad-webapp I get
> >>
> >> .../Users/torgeir/java/src/sling/15minutes/sling/launchpad/launchpad-
> >> webapp/src/test/java/org/apache/sling/launchpad/webapp/
> >> integrationtest/
> >> ujax/PostServletDeleteTest.java:[44,75] cannot find symbol
> >> symbol  : variable DEFAULT_CREATE_SUFFIX...
> >
> > That constant comes from
> >
> > sling/launchpad/launchpad-servlets/src/main/java/org/apache/sling/
> > ujax/UjaxPostServlet.java
> >
> > did you svn up your sling folder and rebuild it all with "mvn clean  
> > install"?
>
>
> Yes. Did an svn update, and now I get another error. I'll try again a  
> bit later..
>
>
> [ERROR] BUILD FAILURE
> [INFO]  
> ------------------------------------------------------------------------
> [INFO] Compilation failure
> /Users/torgeir/java/src/sling/15minutes/sling/jcr/resource/src/main/
> java/org/apache/sling/jcr/resource/internal/JcrResourceResolver.java:
> [63,7] org.apache.sling.jcr.resource.internal.JcrResourceResolver is  
> not abstract and does not override abstract method  
> map(java.lang.String) in org.apache.sling.api.resource.ResourceResolver
>
>
>
> /Users/torgeir/java/src/sling/15minutes/sling/jcr/resource/src/main/
> java/org/apache/sling/jcr/resource/internal/JcrResourceResolver.java:
> [63,7] org.apache.sling.jcr.resource.internal.JcrResourceResolver is  
> not abstract and does not override abstract method  
> map(java.lang.String) in org.apache.sling.api.resource.ResourceResolver
>


Reply | Threaded
Open this post in threaded view
|

Re: Discover Sling in 15 minutes

Torgeir Veimo

On 29 Jan 2008, at 23:55, Felix Meschberger wrote:

> Hi Torgeir,
>
> Sorry for that, I am currently committing SLING-198 fixes. If you  
> update
> the jcr/resource project now, it should compile.



A few files still missing?

INFO] Compiling 53 source files to /Users/torgeir/java/src/sling/
15minutes/sling/sling/core/target/classes
[INFO]  
------------------------------------------------------------------------
[INFO] Compilation failure

/Users/torgeir/java/src/sling/15minutes/sling/sling/core/src/main/java/
org/apache/sling/core/impl/SlingHttpServletResponseImpl.java:[35,37]  
cannot find symbol
symbol  : class PathResolver
location: package org.apache.sling.jcr.resource

/Users/torgeir/java/src/sling/15minutes/sling/sling/core/src/main/java/
org/apache/sling/core/impl/SlingHttpServletResponseImpl.java:[247,8]  
cannot find symbol
symbol  : class PathResolver
location: class org.apache.sling.core.impl.SlingHttpServletResponseImpl

/Users/torgeir/java/src/sling/15minutes/sling/sling/core/src/main/java/
org/apache/sling/core/impl/SlingHttpServletResponseImpl.java:[247,73]  
cannot find symbol
symbol  : class PathResolver
location: class org.apache.sling.core.impl.SlingHttpServletResponseImpl


--
Torgeir Veimo
[hidden email]




Reply | Threaded
Open this post in threaded view
|

Re: Discover Sling in 15 minutes

gertv
In reply to this post by Bertrand Delacretaz
L.S.,


While following the instructions on the wiki page you mentioned, I ran
into a problem when executing the 'curl ...' command to add a first node
of content:

Method POST not supported (405)
The requested URL /content/mynode resulted in an error in Sling Core
Default Servlet

What have I done wrong here?


Gert




Reply | Threaded
Open this post in threaded view
|

Re: Discover Sling in 15 minutes

Bertrand Delacretaz
On Jan 29, 2008 3:16 PM, Gert Vanthienen <[hidden email]> wrote:

> ...I ran
> into a problem when executing the 'curl ...' command to add a first node
> of content:
>
> Method POST not supported (405)...

When running this?

curl -F"sling:resourceType=foo/bar" -F"title=some title"
http://admin:admin@localhost:8080/content/mynode

As the Sling modules start asynchronously, what might happen is that
they're not ready yet. But startup shouldn't take more than a few
seconds on a decent system.

If retrying doesn't help, have a look at the log created under
launchpad-webapp/target/logs/error.log, and if any errors are
reported. I've just added the info about that log file to the wiki
page.

-Bertrand

Reply | Threaded
Open this post in threaded view
|

Re: Discover Sling in 15 minutes

Felix Meschberger-2
In reply to this post by Torgeir Veimo
Hi Torgeir,

I think, this is not my day .....

I fixed the sling/core project and quickly cross-checked a complete
build now. I also had to fix some transitive dependency issue which
caused the Apache Felix javax.servlet project to overrule the
javax.servlet:servlet-api dependency.

For me, Sling now builds through the reactor.

Regards
Felix

Am Mittwoch, den 30.01.2008, 00:05 +1000 schrieb Torgeir Veimo:

> On 29 Jan 2008, at 23:55, Felix Meschberger wrote:
>
> > Hi Torgeir,
> >
> > Sorry for that, I am currently committing SLING-198 fixes. If you  
> > update
> > the jcr/resource project now, it should compile.
>
>
>
> A few files still missing?
>
> INFO] Compiling 53 source files to /Users/torgeir/java/src/sling/
> 15minutes/sling/sling/core/target/classes
> [INFO]  
> ------------------------------------------------------------------------
> [INFO] Compilation failure
>
> /Users/torgeir/java/src/sling/15minutes/sling/sling/core/src/main/java/
> org/apache/sling/core/impl/SlingHttpServletResponseImpl.java:[35,37]  
> cannot find symbol
> symbol  : class PathResolver
> location: package org.apache.sling.jcr.resource
>
> /Users/torgeir/java/src/sling/15minutes/sling/sling/core/src/main/java/
> org/apache/sling/core/impl/SlingHttpServletResponseImpl.java:[247,8]  
> cannot find symbol
> symbol  : class PathResolver
> location: class org.apache.sling.core.impl.SlingHttpServletResponseImpl
>
> /Users/torgeir/java/src/sling/15minutes/sling/sling/core/src/main/java/
> org/apache/sling/core/impl/SlingHttpServletResponseImpl.java:[247,73]  
> cannot find symbol
> symbol  : class PathResolver
> location: class org.apache.sling.core.impl.SlingHttpServletResponseImpl
>
>


Reply | Threaded
Open this post in threaded view
|

Re: Discover Sling in 15 minutes

Bertrand Delacretaz
On Jan 29, 2008 3:52 PM, Felix Meschberger <[hidden email]> wrote:

> ...For me, Sling now builds through the reactor....

Same here, revision 616367 builds, launchpad-webapp integration tests pass.

I didn't have a reactor handy, so I used an atom bomb. Worked fine ;-)

-Bertrand

Reply | Threaded
Open this post in threaded view
|

Re: Discover Sling in 15 minutes

gertv
In reply to this post by Bertrand Delacretaz
Bernard,

An 'svn up;mvn clean install' fixed the issue.

Thank you for the fast reponse,

Gert

Bertrand Delacretaz wrote:

> On Jan 29, 2008 3:16 PM, Gert Vanthienen <[hidden email]> wrote:
>
>  
>> ...I ran
>> into a problem when executing the 'curl ...' command to add a first node
>> of content:
>>
>> Method POST not supported (405)...
>>    
>
> When running this?
>
> curl -F"sling:resourceType=foo/bar" -F"title=some title"
> http://admin:admin@localhost:8080/content/mynode
>
> As the Sling modules start asynchronously, what might happen is that
> they're not ready yet. But startup shouldn't take more than a few
> seconds on a decent system.
>
> If retrying doesn't help, have a look at the log created under
> launchpad-webapp/target/logs/error.log, and if any errors are
> reported. I've just added the info about that log file to the wiki
> page.
>
> -Bertrand
>
>  


Reply | Threaded
Open this post in threaded view
|

Re: Discover Sling in 15 minutes

Michael Marth
Guys,

just tried to do the 15 minutes tutorial, but I get a compilation error (mvn
clean install) - see below. I use
C:\dev\launchpad>mvn -version
Maven version: 2.0.7
Java version: 1.5.0_13

Does anybody have an idea? The error looks strange to me. Also tried to
delete my mvn repo, but no success either.

thanks for pointers
Cheers
Michael



[INFO]
-------------------------------------------------------------------------
---
[INFO] Building Sling - ScriptResolver implementation
[INFO]    task-segment: [clean, install]
[INFO]
-------------------------------------------------------------------------
---
[INFO] [clean:clean]
[INFO] Deleting directory C:\dev\launchpad\scripting\resolver\target
[INFO] [enforcer:enforce {execution: enforce-java}]
[INFO] [dependency:copy {execution: get-bsf3-api}]
[INFO] Configured Artifact: org.apache.bsf:bsf-api:3.0-beta2:jar
[INFO] Copying bsf-api-3.0-beta2.jar to
C:\dev\launchpad\scripting\resolver\targ
et\dependency\bsf-api.jar
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 8 source files to
C:\dev\launchpad\scripting\resolver\target\cl
asses
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure

C:\dev\launchpad\scripting\resolver\src\main\java\org\apache\sling\scripting\res
olver\impl\DefaultSlingScript.java:[76,22] type java.util.Dictionary does
not ta
ke parameters

C:\dev\launchpad\scripting\resolver\src\main\java\org\apache\sling\scripting\res
olver\impl\DefaultSlingScript.java:[192,22] type java.util.Enumeration does
not
take parameters

C:\dev\launchpad\scripting\resolver\src\main\java\org\apache\sling\scripting\res
olver\impl\helper\OnDemandReader.java:[23,16] package java.nio does not
exist

C:\dev\launchpad\scripting\resolver\src\main\java\org\apache\sling\scripting\res
olver\impl\helper\OnDemandReader.java:[70,20] cannot find symbol
symbol  : class CharBuffer
location: class
org.apache.sling.scripting.resolver.impl.helper.OnDemandReader

C:\dev\launchpad\scripting\resolver\src\main\java\org\apache\sling\scripting\res
olver\impl\helper\OnDemandReader.java:[70,15] read(char[]) is already
defined in
 org.apache.sling.scripting.resolver.impl.helper.OnDemandReader

C:\dev\launchpad\scripting\resolver\src\main\java\org\apache\sling\scripting\res
olver\impl\SlingScriptAdapterFactory.java:[75,16] type java.util.List does
not t
ake parameters

C:\dev\launchpad\scripting\resolver\src\main\java\org\apache\sling\scripting\res
olver\impl\SlingScriptAdapterFactory.java:[77,16] type java.util.List does
not t
ake parameters

C:\dev\launchpad\scripting\resolver\src\main\java\org\apache\sling\scripting\res
olver\impl\SlingScriptAdapterFactory.java:[83,17] type java.lang.Class does
not
take parameters

C:\dev\launchpad\scripting\resolver\src\main\java\org\apache\sling\scripting\res
olver\impl\helper\OnDemandWriter.java:[44,5] cannot find symbol
symbol  : class Override
location: class
org.apache.sling.scripting.resolver.impl.helper.OnDemandWriter

C:\dev\launchpad\scripting\resolver\src\main\java\org\apache\sling\scripting\res
olver\impl\helper\OnDemandWriter.java:[51,5] cannot find symbol
symbol  : class Override
location: class
org.apache.sling.scripting.resolver.impl.helper.OnDemandWriter

On 1/29/08, Gert Vanthienen <[hidden email]> wrote:

>
> Bernard,
>
> An 'svn up;mvn clean install' fixed the issue.
>
> Thank you for the fast reponse,
>
> Gert
>
> Bertrand Delacretaz wrote:
> > On Jan 29, 2008 3:16 PM, Gert Vanthienen <[hidden email]>
> wrote:
> >
> >
> >> ...I ran
> >> into a problem when executing the 'curl ...' command to add a first
> node
> >> of content:
> >>
> >> Method POST not supported (405)...
> >>
> >
> > When running this?
> >
> > curl -F"sling:resourceType=foo/bar" -F"title=some title"
> > http://admin:admin@localhost:8080/content/mynode
> >
> > As the Sling modules start asynchronously, what might happen is that
> > they're not ready yet. But startup shouldn't take more than a few
> > seconds on a decent system.
> >
> > If retrying doesn't help, have a look at the log created under
> > launchpad-webapp/target/logs/error.log, and if any errors are
> > reported. I've just added the info about that log file to the wiki
> > page.
> >
> > -Bertrand
> >
> >
>
>


--
Michael Marth, http://dev.day.com
Reply | Threaded
Open this post in threaded view
|

Re: Discover Sling in 15 minutes

Carsten Ziegeler
Just update from svn and try again :) It works now...

Carsten

Michael Marth wrote:

> Guys,
>
> just tried to do the 15 minutes tutorial, but I get a compilation error (mvn
> clean install) - see below. I use
> C:\dev\launchpad>mvn -version
> Maven version: 2.0.7
> Java version: 1.5.0_13
>
> Does anybody have an idea? The error looks strange to me. Also tried to
> delete my mvn repo, but no success either.
>
> thanks for pointers
> Cheers
> Michael
>
>
>
> [INFO]
> -------------------------------------------------------------------------
> ---
> [INFO] Building Sling - ScriptResolver implementation
> [INFO]    task-segment: [clean, install]
> [INFO]
> -------------------------------------------------------------------------
> ---
> [INFO] [clean:clean]
> [INFO] Deleting directory C:\dev\launchpad\scripting\resolver\target
> [INFO] [enforcer:enforce {execution: enforce-java}]
> [INFO] [dependency:copy {execution: get-bsf3-api}]
> [INFO] Configured Artifact: org.apache.bsf:bsf-api:3.0-beta2:jar
> [INFO] Copying bsf-api-3.0-beta2.jar to
> C:\dev\launchpad\scripting\resolver\targ
> et\dependency\bsf-api.jar
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:compile]
> [INFO] Compiling 8 source files to
> C:\dev\launchpad\scripting\resolver\target\cl
> asses
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Compilation failure
>
> C:\dev\launchpad\scripting\resolver\src\main\java\org\apache\sling\scripting\res
> olver\impl\DefaultSlingScript.java:[76,22] type java.util.Dictionary does
> not ta
> ke parameters
>
> C:\dev\launchpad\scripting\resolver\src\main\java\org\apache\sling\scripting\res
> olver\impl\DefaultSlingScript.java:[192,22] type java.util.Enumeration does
> not
> take parameters
>
> C:\dev\launchpad\scripting\resolver\src\main\java\org\apache\sling\scripting\res
> olver\impl\helper\OnDemandReader.java:[23,16] package java.nio does not
> exist
>
> C:\dev\launchpad\scripting\resolver\src\main\java\org\apache\sling\scripting\res
> olver\impl\helper\OnDemandReader.java:[70,20] cannot find symbol
> symbol  : class CharBuffer
> location: class
> org.apache.sling.scripting.resolver.impl.helper.OnDemandReader
>
> C:\dev\launchpad\scripting\resolver\src\main\java\org\apache\sling\scripting\res
> olver\impl\helper\OnDemandReader.java:[70,15] read(char[]) is already
> defined in
>  org.apache.sling.scripting.resolver.impl.helper.OnDemandReader
>
> C:\dev\launchpad\scripting\resolver\src\main\java\org\apache\sling\scripting\res
> olver\impl\SlingScriptAdapterFactory.java:[75,16] type java.util.List does
> not t
> ake parameters
>
> C:\dev\launchpad\scripting\resolver\src\main\java\org\apache\sling\scripting\res
> olver\impl\SlingScriptAdapterFactory.java:[77,16] type java.util.List does
> not t
> ake parameters
>
> C:\dev\launchpad\scripting\resolver\src\main\java\org\apache\sling\scripting\res
> olver\impl\SlingScriptAdapterFactory.java:[83,17] type java.lang.Class does
> not
> take parameters
>
> C:\dev\launchpad\scripting\resolver\src\main\java\org\apache\sling\scripting\res
> olver\impl\helper\OnDemandWriter.java:[44,5] cannot find symbol
> symbol  : class Override
> location: class
> org.apache.sling.scripting.resolver.impl.helper.OnDemandWriter
>
> C:\dev\launchpad\scripting\resolver\src\main\java\org\apache\sling\scripting\res
> olver\impl\helper\OnDemandWriter.java:[51,5] cannot find symbol
> symbol  : class Override
> location: class
> org.apache.sling.scripting.resolver.impl.helper.OnDemandWriter
>
> On 1/29/08, Gert Vanthienen <[hidden email]> wrote:
>> Bernard,
>>
>> An 'svn up;mvn clean install' fixed the issue.
>>
>> Thank you for the fast reponse,
>>
>> Gert
>>
>> Bertrand Delacretaz wrote:
>>> On Jan 29, 2008 3:16 PM, Gert Vanthienen <[hidden email]>
>> wrote:
>>>
>>>> ...I ran
>>>> into a problem when executing the 'curl ...' command to add a first
>> node
>>>> of content:
>>>>
>>>> Method POST not supported (405)...
>>>>
>>> When running this?
>>>
>>> curl -F"sling:resourceType=foo/bar" -F"title=some title"
>>> http://admin:admin@localhost:8080/content/mynode
>>>
>>> As the Sling modules start asynchronously, what might happen is that
>>> they're not ready yet. But startup shouldn't take more than a few
>>> seconds on a decent system.
>>>
>>> If retrying doesn't help, have a look at the log created under
>>> launchpad-webapp/target/logs/error.log, and if any errors are
>>> reported. I've just added the info about that log file to the wiki
>>> page.
>>>
>>> -Bertrand
>>>
>>>
>>
>
>


--
Carsten Ziegeler
[hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Discover Sling in 15 minutes

Michael Marth
Hi Carsten,

thanks, but there's a different problem now (see below). I thought that
maybe just the tests fail, but mvn jetty:run does not work either:

[INFO] Searching repository for plugin with prefix: 'jetty'.
[INFO] org.apache.maven.plugins: checking for updates from central
[INFO] org.codehaus.mojo: checking for updates from central
[INFO] artifact org.apache.maven.plugins:maven-jetty-plugin: checking for
update
s from central
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] The plugin 'org.apache.maven.plugins:maven-jetty-plugin' does not
exist o
r no valid version could be found


Can I try anything else?
Thanks a lot
Michael



2008-02-01 15:44:12.609::INFO:  Logging to STDERR via
org.mortbay.log.StdErrLog
2008-02-01 15:44:12.656::INFO:  jetty-6.1.1rc1
2008-02-01 15:44:12.812::INFO:  Extract
jar:file:/C:/dev/launchpad/launchpad/lau
nchpad-webapp/target/org.apache.sling.launchpad.webapp-
2.0.0-incubator-SNAPSHOT.
war!/ to
C:\DOCUME~1\mmarth\LOCALS~1\Temp\Jetty_0_0_0_0_8080_org.apache.sling.la
unchpad.webapp-2.0.0-incubator-SNAPSHOT.war__org_apache_sling_launchpad_webapp-2
_0_0-incubator-SNAPSHOT__ybspfb\webapp
2008-02-01 15:44:
21.921:/org.apache.sling.launchpad.webapp-2.0.0-incubator-SNAPS
HOT:INFO:  sling: Servlet sling initialized
2008-02-01 15:44:21.921::INFO:  Extract
jar:file:/C:/dev/launchpad/launchpad/lau
nchpad-webapp/target/jetty6x/cargocpc.war!/ to
C:\DOCUME~1\mmarth\LOCALS~1\Temp\
Jetty_0_0_0_0_8080_cargocpc.war__cargocpc__xflgf3\webapp
2008-02-01 15:44:22.515::INFO:  Started SelectChannelConnector @
0.0.0.0:8080
[INFO] [beddedLocalContainer] Jetty 6.x Embedded started on port [8080]
[INFO] [surefire:test {execution: surefire-integration-test}]
[INFO] Surefire report directory:
C:\dev\launchpad\launchpad\launchpad-webapp\ta
rget\surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running
org.apache.sling.launchpad.webapp.integrationtest.PropertyRenderingTest
log4j:WARN No appenders could be found for logger (
org.apache.commons.httpclient
.HttpClient).
log4j:WARN Please initialize the log4j system properly.
Checking if the required Sling services are started...
Checking if the required Sling services are started...
Checking if the required Sling services are started...
Checking if the required Sling services are started...
Checking if the required Sling services are started...
Checking if the required Sling services are started...
Tests run: 6, Failures: 6, Errors: 0, Skipped: 0, Time elapsed: 10.078 sec
<<< F
AILURE!
Running org.apache.sling.launchpad.webapp.integrationtest.JsonRenderingTest
Checking if the required Sling services are started...
Checking if the required Sling services are started...
Checking if the required Sling services are started...
Checking if the required Sling services are started...
Checking if the required Sling services are started...
Checking if the required Sling services are started...
Checking if the required Sling services are started...
Tests run: 7, Failures: 7, Errors: 0, Skipped: 0, Time elapsed: 0.125 sec
<<< FA
ILURE!
Running org.apache.sling.launchpad.webapp.integrationtest.IncludeTest
Checking if the required Sling services are started...
Checking if the required Sling services are started...
Checking if the required Sling services are started...
Tests run: 3, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
<<< FA
ILURE!
Running org.apache.sling.launchpad.webapp.integrationtest.GetWithSuffixTest
Checking if the required Sling services are started...
Checking if the required Sling services are started...
Checking if the required Sling services are started...
Tests run: 3, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 0.14 sec <<<
FAI
LURE!
Running org.apache.sling.launchpad.webapp.integrationtest.UploadFileTest
Checking if the required Sling services are started...
Checking if the required Sling services are started...
Checking if the required Sling services are started...
Tests run: 3, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
<<< FA
ILURE!
Running
org.apache.sling.launchpad.webapp.integrationtest.ujax.PostServletOrderT
est
Checking if the required Sling services are started...
Checking if the required Sling services are started...
Checking if the required Sling services are started...
Tests run: 3, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 0.14 sec <<<
FAI
LURE!
Running
org.apache.sling.launchpad.webapp.integrationtest.NodetypeRenderingTest
Checking if the required Sling services are started...
Checking if the required Sling services are started...
Checking if the required Sling services are started...
Checking if the required Sling services are started...
Checking if the required Sling services are started...
Checking if the required Sling services are started...
Tests run: 6, Failures: 6, Errors: 0, Skipped: 0, Time elapsed: 0.032 sec
<<< FA
ILURE!
Running org.apache.sling.launchpad.webapp.integrationtest.ValueFromTest
Checking if the required Sling services are started...
Checking if the required Sling services are started...
Checking if the required Sling services are started...
Tests run: 3, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 0.047 sec
<<< FA
ILURE!
Running
org.apache.sling.launchpad.webapp.integrationtest.GeneratedNodeNameTest
Checking if the required Sling services are started...
Checking if the required Sling services are started...
Checking if the required Sling services are started...
Checking if the required Sling services are started...
Tests run: 4, Failures: 4, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec
<<< FA
ILURE!
Running org.apache.sling.launchpad.webapp.integrationtest.PostRedirectTest
Checking if the required Sling services are started...
Checking if the required Sling services are started...
Checking if the required Sling services are started...
Checking if the required Sling services are started...
Tests run: 4, Failures: 4, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
<<< FA
ILURE!
Running
org.apache.sling.launchpad.webapp.integrationtest.ScriptBuiltinObjectsTe
st
Checking if the required Sling services are started...
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0 sec <<<
FAILUR
E!
Running
org.apache.sling.launchpad.webapp.integrationtest.ujax.UjaxSessionInfoTe
st
Checking if the required Sling services are started...
Checking if the required Sling services are started...
Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.062 sec
<<< FA
ILURE!
Running
org.apache.sling.launchpad.webapp.integrationtest.SyntheticResourceTest
Checking if the required Sling services are started...
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0 sec <<<
FAILUR
E!
Running org.apache.sling.launchpad.webapp.integrationtest.HttpPingTest
Checking if the required Sling services are started...
Checking if the required Sling services are started...
Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.125 sec
<<< FA
ILURE!
Running org.apache.sling.launchpad.webapp.integrationtest.FileUploadTest
Checking if the required Sling services are started...
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
<<< FA
ILURE!
Running org.apache.sling.launchpad.webapp.integrationtest.CreateNodeTest
Checking if the required Sling services are started...
Checking if the required Sling services are started...
Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.078 sec
<<< FA
ILURE!
Running
org.apache.sling.launchpad.webapp.integrationtest.ujax.UjaxDefaultValues
Test
Checking if the required Sling services are started...
Checking if the required Sling services are started...
Checking if the required Sling services are started...
Checking if the required Sling services are started...
Tests run: 4, Failures: 4, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
<<< FA
ILURE!
Running org.apache.sling.launchpad.webapp.integrationtest.StaticContentTest
Checking if the required Sling services are started...
Checking if the required Sling services are started...
Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec
<<< FA
ILURE!
Running org.apache.sling.launchpad.webapp.integrationtest.StreamServletTest
Checking if the required Sling services are started...
Checking if the required Sling services are started...
Checking if the required Sling services are started...
Checking if the required Sling services are started...
Tests run: 4, Failures: 4, Errors: 0, Skipped: 0, Time elapsed: 0 sec <<<
FAILUR
E!
Running
org.apache.sling.launchpad.webapp.integrationtest.ujax.PostServletUpdate
Test
Checking if the required Sling services are started...
Checking if the required Sling services are started...
Checking if the required Sling services are started...
Checking if the required Sling services are started...
Tests run: 4, Failures: 4, Errors: 0, Skipped: 0, Time elapsed: 0.141 sec
<<< FA
ILURE!

On 2/1/08, Carsten Ziegeler <[hidden email]> wrote:

>
> Just update from svn and try again :) It works now...
>
> Carsten
>
> Michael Marth wrote:
> > Guys,
> >
> > just tried to do the 15 minutes tutorial, but I get a compilation error
> (mvn
> > clean install) - see below. I use
> > C:\dev\launchpad>mvn -version
> > Maven version: 2.0.7
> > Java version: 1.5.0_13
> >
> > Does anybody have an idea? The error looks strange to me. Also tried to
> > delete my mvn repo, but no success either.
> >
> > thanks for pointers
> > Cheers
> > Michael
> >
> >
> >
> > [INFO]
> >
> -------------------------------------------------------------------------
> > ---
> > [INFO] Building Sling - ScriptResolver implementation
> > [INFO]    task-segment: [clean, install]
> > [INFO]
> >
> -------------------------------------------------------------------------
> > ---
> > [INFO] [clean:clean]
> > [INFO] Deleting directory C:\dev\launchpad\scripting\resolver\target
> > [INFO] [enforcer:enforce {execution: enforce-java}]
> > [INFO] [dependency:copy {execution: get-bsf3-api}]
> > [INFO] Configured Artifact: org.apache.bsf:bsf-api:3.0-beta2:jar
> > [INFO] Copying bsf-api-3.0-beta2.jar to
> > C:\dev\launchpad\scripting\resolver\targ
> > et\dependency\bsf-api.jar
> > [INFO] [resources:resources]
> > [INFO] Using default encoding to copy filtered resources.
> > [INFO] [compiler:compile]
> > [INFO] Compiling 8 source files to
> > C:\dev\launchpad\scripting\resolver\target\cl
> > asses
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] BUILD FAILURE
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Compilation failure
> >
> >
> C:\dev\launchpad\scripting\resolver\src\main\java\org\apache\sling\scripting\res
> > olver\impl\DefaultSlingScript.java:[76,22] type java.util.Dictionarydoes
> > not ta
> > ke parameters
> >
> >
> C:\dev\launchpad\scripting\resolver\src\main\java\org\apache\sling\scripting\res
> > olver\impl\DefaultSlingScript.java:[192,22] type java.util.Enumerationdoes
> > not
> > take parameters
> >
> >
> C:\dev\launchpad\scripting\resolver\src\main\java\org\apache\sling\scripting\res
> > olver\impl\helper\OnDemandReader.java:[23,16] package java.nio does not
> > exist
> >
> >
> C:\dev\launchpad\scripting\resolver\src\main\java\org\apache\sling\scripting\res
> > olver\impl\helper\OnDemandReader.java:[70,20] cannot find symbol
> > symbol  : class CharBuffer
> > location: class
> > org.apache.sling.scripting.resolver.impl.helper.OnDemandReader
> >
> >
> C:\dev\launchpad\scripting\resolver\src\main\java\org\apache\sling\scripting\res
> > olver\impl\helper\OnDemandReader.java:[70,15] read(char[]) is already
> > defined in
> >  org.apache.sling.scripting.resolver.impl.helper.OnDemandReader
> >
> >
> C:\dev\launchpad\scripting\resolver\src\main\java\org\apache\sling\scripting\res
> > olver\impl\SlingScriptAdapterFactory.java:[75,16] type java.util.Listdoes
> > not t
> > ake parameters
> >
> >
> C:\dev\launchpad\scripting\resolver\src\main\java\org\apache\sling\scripting\res
> > olver\impl\SlingScriptAdapterFactory.java:[77,16] type java.util.Listdoes
> > not t
> > ake parameters
> >
> >
> C:\dev\launchpad\scripting\resolver\src\main\java\org\apache\sling\scripting\res
> > olver\impl\SlingScriptAdapterFactory.java:[83,17] type java.lang.Classdoes
> > not
> > take parameters
> >
> >
> C:\dev\launchpad\scripting\resolver\src\main\java\org\apache\sling\scripting\res
> > olver\impl\helper\OnDemandWriter.java:[44,5] cannot find symbol
> > symbol  : class Override
> > location: class
> > org.apache.sling.scripting.resolver.impl.helper.OnDemandWriter
> >
> >
> C:\dev\launchpad\scripting\resolver\src\main\java\org\apache\sling\scripting\res
> > olver\impl\helper\OnDemandWriter.java:[51,5] cannot find symbol
> > symbol  : class Override
> > location: class
> > org.apache.sling.scripting.resolver.impl.helper.OnDemandWriter
> >
> > On 1/29/08, Gert Vanthienen <[hidden email]> wrote:
> >> Bernard,
> >>
> >> An 'svn up;mvn clean install' fixed the issue.
> >>
> >> Thank you for the fast reponse,
> >>
> >> Gert
> >>
> >> Bertrand Delacretaz wrote:
> >>> On Jan 29, 2008 3:16 PM, Gert Vanthienen <[hidden email]>
> >> wrote:
> >>>
> >>>> ...I ran
> >>>> into a problem when executing the 'curl ...' command to add a first
> >> node
> >>>> of content:
> >>>>
> >>>> Method POST not supported (405)...
> >>>>
> >>> When running this?
> >>>
> >>> curl -F"sling:resourceType=foo/bar" -F"title=some title"
> >>> http://admin:admin@localhost:8080/content/mynode
> >>>
> >>> As the Sling modules start asynchronously, what might happen is that
> >>> they're not ready yet. But startup shouldn't take more than a few
> >>> seconds on a decent system.
> >>>
> >>> If retrying doesn't help, have a look at the log created under
> >>> launchpad-webapp/target/logs/error.log, and if any errors are
> >>> reported. I've just added the info about that log file to the wiki
> >>> page.
> >>>
> >>> -Bertrand
> >>>
> >>>
> >>
> >
> >
>
>
> --
> Carsten Ziegeler
> [hidden email]
>



--
Michael Marth, http://dev.day.com
Reply | Threaded
Open this post in threaded view
|

Re: Discover Sling in 15 minutes

Carsten Ziegeler
Hmm, that's strange, it seems mvn can't find the jetty plugin.
You could try
"mvn org.mortbay.jetty:mvn-jetty-plugin:6.1.5:run" instead

Carsten

Michael Marth wrote:

> Hi Carsten,
>
> thanks, but there's a different problem now (see below). I thought that
> maybe just the tests fail, but mvn jetty:run does not work either:
>
> [INFO] Searching repository for plugin with prefix: 'jetty'.
> [INFO] org.apache.maven.plugins: checking for updates from central
> [INFO] org.codehaus.mojo: checking for updates from central
> [INFO] artifact org.apache.maven.plugins:maven-jetty-plugin: checking for
> update
> s from central
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] The plugin 'org.apache.maven.plugins:maven-jetty-plugin' does not
> exist o
> r no valid version could be found
>
>
> Can I try anything else?
> Thanks a lot
> Michael
>
>
>
> 2008-02-01 15:44:12.609::INFO:  Logging to STDERR via
> org.mortbay.log.StdErrLog
> 2008-02-01 15:44:12.656::INFO:  jetty-6.1.1rc1
> 2008-02-01 15:44:12.812::INFO:  Extract
> jar:file:/C:/dev/launchpad/launchpad/lau
> nchpad-webapp/target/org.apache.sling.launchpad.webapp-
> 2.0.0-incubator-SNAPSHOT.
> war!/ to
> C:\DOCUME~1\mmarth\LOCALS~1\Temp\Jetty_0_0_0_0_8080_org.apache.sling.la
> unchpad.webapp-2.0.0-incubator-SNAPSHOT.war__org_apache_sling_launchpad_webapp-2
> _0_0-incubator-SNAPSHOT__ybspfb\webapp
> 2008-02-01 15:44:
> 21.921:/org.apache.sling.launchpad.webapp-2.0.0-incubator-SNAPS
> HOT:INFO:  sling: Servlet sling initialized
> 2008-02-01 15:44:21.921::INFO:  Extract
> jar:file:/C:/dev/launchpad/launchpad/lau
> nchpad-webapp/target/jetty6x/cargocpc.war!/ to
> C:\DOCUME~1\mmarth\LOCALS~1\Temp\
> Jetty_0_0_0_0_8080_cargocpc.war__cargocpc__xflgf3\webapp
> 2008-02-01 15:44:22.515::INFO:  Started SelectChannelConnector @
> 0.0.0.0:8080
> [INFO] [beddedLocalContainer] Jetty 6.x Embedded started on port [8080]
> [INFO] [surefire:test {execution: surefire-integration-test}]
> [INFO] Surefire report directory:
> C:\dev\launchpad\launchpad\launchpad-webapp\ta
> rget\surefire-reports
>
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running
> org.apache.sling.launchpad.webapp.integrationtest.PropertyRenderingTest
> log4j:WARN No appenders could be found for logger (
> org.apache.commons.httpclient
> ..HttpClient).
> log4j:WARN Please initialize the log4j system properly.
> Checking if the required Sling services are started...
> Checking if the required Sling services are started...
> Checking if the required Sling services are started...
> Checking if the required Sling services are started...
> Checking if the required Sling services are started...
> Checking if the required Sling services are started...
> Tests run: 6, Failures: 6, Errors: 0, Skipped: 0, Time elapsed: 10.078 sec
> <<< F
> AILURE!
> Running org.apache.sling.launchpad.webapp.integrationtest.JsonRenderingTest
> Checking if the required Sling services are started...
> Checking if the required Sling services are started...
> Checking if the required Sling services are started...
> Checking if the required Sling services are started...
> Checking if the required Sling services are started...
> Checking if the required Sling services are started...
> Checking if the required Sling services are started...
> Tests run: 7, Failures: 7, Errors: 0, Skipped: 0, Time elapsed: 0.125 sec
> <<< FA
> ILURE!
> Running org.apache.sling.launchpad.webapp.integrationtest.IncludeTest
> Checking if the required Sling services are started...
> Checking if the required Sling services are started...
> Checking if the required Sling services are started...
> Tests run: 3, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
> <<< FA
> ILURE!
> Running org.apache.sling.launchpad.webapp.integrationtest.GetWithSuffixTest
> Checking if the required Sling services are started...
> Checking if the required Sling services are started...
> Checking if the required Sling services are started...
> Tests run: 3, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 0.14 sec <<<
> FAI
> LURE!
> Running org.apache.sling.launchpad.webapp.integrationtest.UploadFileTest
> Checking if the required Sling services are started...
> Checking if the required Sling services are started...
> Checking if the required Sling services are started...
> Tests run: 3, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
> <<< FA
> ILURE!
> Running
> org.apache.sling.launchpad.webapp.integrationtest.ujax.PostServletOrderT
> est
> Checking if the required Sling services are started...
> Checking if the required Sling services are started...
> Checking if the required Sling services are started...
> Tests run: 3, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 0.14 sec <<<
> FAI
> LURE!
> Running
> org.apache.sling.launchpad.webapp.integrationtest.NodetypeRenderingTest
> Checking if the required Sling services are started...
> Checking if the required Sling services are started...
> Checking if the required Sling services are started...
> Checking if the required Sling services are started...
> Checking if the required Sling services are started...
> Checking if the required Sling services are started...
> Tests run: 6, Failures: 6, Errors: 0, Skipped: 0, Time elapsed: 0.032 sec
> <<< FA
> ILURE!
> Running org.apache.sling.launchpad.webapp.integrationtest.ValueFromTest
> Checking if the required Sling services are started...
> Checking if the required Sling services are started...
> Checking if the required Sling services are started...
> Tests run: 3, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 0.047 sec
> <<< FA
> ILURE!
> Running
> org.apache.sling.launchpad.webapp.integrationtest.GeneratedNodeNameTest
> Checking if the required Sling services are started...
> Checking if the required Sling services are started...
> Checking if the required Sling services are started...
> Checking if the required Sling services are started...
> Tests run: 4, Failures: 4, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec
> <<< FA
> ILURE!
> Running org.apache.sling.launchpad.webapp.integrationtest.PostRedirectTest
> Checking if the required Sling services are started...
> Checking if the required Sling services are started...
> Checking if the required Sling services are started...
> Checking if the required Sling services are started...
> Tests run: 4, Failures: 4, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
> <<< FA
> ILURE!
> Running
> org.apache.sling.launchpad.webapp.integrationtest.ScriptBuiltinObjectsTe
> st
> Checking if the required Sling services are started...
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0 sec <<<
> FAILUR
> E!
> Running
> org.apache.sling.launchpad.webapp.integrationtest.ujax.UjaxSessionInfoTe
> st
> Checking if the required Sling services are started...
> Checking if the required Sling services are started...
> Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.062 sec
> <<< FA
> ILURE!
> Running
> org.apache.sling.launchpad.webapp.integrationtest.SyntheticResourceTest
> Checking if the required Sling services are started...
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0 sec <<<
> FAILUR
> E!
> Running org.apache.sling.launchpad.webapp.integrationtest.HttpPingTest
> Checking if the required Sling services are started...
> Checking if the required Sling services are started...
> Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.125 sec
> <<< FA
> ILURE!
> Running org.apache.sling.launchpad.webapp.integrationtest.FileUploadTest
> Checking if the required Sling services are started...
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
> <<< FA
> ILURE!
> Running org.apache.sling.launchpad.webapp.integrationtest.CreateNodeTest
> Checking if the required Sling services are started...
> Checking if the required Sling services are started...
> Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.078 sec
> <<< FA
> ILURE!
> Running
> org.apache.sling.launchpad.webapp.integrationtest.ujax.UjaxDefaultValues
> Test
> Checking if the required Sling services are started...
> Checking if the required Sling services are started...
> Checking if the required Sling services are started...
> Checking if the required Sling services are started...
> Tests run: 4, Failures: 4, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
> <<< FA
> ILURE!
> Running org.apache.sling.launchpad.webapp.integrationtest.StaticContentTest
> Checking if the required Sling services are started...
> Checking if the required Sling services are started...
> Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec
> <<< FA
> ILURE!
> Running org.apache.sling.launchpad.webapp.integrationtest.StreamServletTest
> Checking if the required Sling services are started...
> Checking if the required Sling services are started...
> Checking if the required Sling services are started...
> Checking if the required Sling services are started...
> Tests run: 4, Failures: 4, Errors: 0, Skipped: 0, Time elapsed: 0 sec <<<
> FAILUR
> E!
> Running
> org.apache.sling.launchpad.webapp.integrationtest.ujax.PostServletUpdate
> Test
> Checking if the required Sling services are started...
> Checking if the required Sling services are started...
> Checking if the required Sling services are started...
> Checking if the required Sling services are started...
> Tests run: 4, Failures: 4, Errors: 0, Skipped: 0, Time elapsed: 0.141 sec
> <<< FA
> ILURE!
>
> On 2/1/08, Carsten Ziegeler <[hidden email]> wrote:
>> Just update from svn and try again :) It works now...
>>
>> Carsten
>>
>> Michael Marth wrote:
>>> Guys,
>>>
>>> just tried to do the 15 minutes tutorial, but I get a compilation error
>> (mvn
>>> clean install) - see below. I use
>>> C:\dev\launchpad>mvn -version
>>> Maven version: 2.0.7
>>> Java version: 1.5.0_13
>>>
>>> Does anybody have an idea? The error looks strange to me. Also tried to
>>> delete my mvn repo, but no success either.
>>>
>>> thanks for pointers
>>> Cheers
>>> Michael
>>>
>>>
>>>
>>> [INFO]
>>>
>> -------------------------------------------------------------------------
>>> ---
>>> [INFO] Building Sling - ScriptResolver implementation
>>> [INFO]    task-segment: [clean, install]
>>> [INFO]
>>>
>> -------------------------------------------------------------------------
>>> ---
>>> [INFO] [clean:clean]
>>> [INFO] Deleting directory C:\dev\launchpad\scripting\resolver\target
>>> [INFO] [enforcer:enforce {execution: enforce-java}]
>>> [INFO] [dependency:copy {execution: get-bsf3-api}]
>>> [INFO] Configured Artifact: org.apache.bsf:bsf-api:3.0-beta2:jar
>>> [INFO] Copying bsf-api-3.0-beta2.jar to
>>> C:\dev\launchpad\scripting\resolver\targ
>>> et\dependency\bsf-api.jar
>>> [INFO] [resources:resources]
>>> [INFO] Using default encoding to copy filtered resources.
>>> [INFO] [compiler:compile]
>>> [INFO] Compiling 8 source files to
>>> C:\dev\launchpad\scripting\resolver\target\cl
>>> asses
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [ERROR] BUILD FAILURE
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Compilation failure
>>>
>>>
>> C:\dev\launchpad\scripting\resolver\src\main\java\org\apache\sling\scripting\res
>>> olver\impl\DefaultSlingScript.java:[76,22] type java.util.Dictionarydoes
>>> not ta
>>> ke parameters
>>>
>>>
>> C:\dev\launchpad\scripting\resolver\src\main\java\org\apache\sling\scripting\res
>>> olver\impl\DefaultSlingScript.java:[192,22] type java.util.Enumerationdoes
>>> not
>>> take parameters
>>>
>>>
>> C:\dev\launchpad\scripting\resolver\src\main\java\org\apache\sling\scripting\res
>>> olver\impl\helper\OnDemandReader.java:[23,16] package java.nio does not
>>> exist
>>>
>>>
>> C:\dev\launchpad\scripting\resolver\src\main\java\org\apache\sling\scripting\res
>>> olver\impl\helper\OnDemandReader.java:[70,20] cannot find symbol
>>> symbol  : class CharBuffer
>>> location: class
>>> org.apache.sling.scripting.resolver.impl.helper.OnDemandReader
>>>
>>>
>> C:\dev\launchpad\scripting\resolver\src\main\java\org\apache\sling\scripting\res
>>> olver\impl\helper\OnDemandReader.java:[70,15] read(char[]) is already
>>> defined in
>>>  org.apache.sling.scripting.resolver.impl.helper.OnDemandReader
>>>
>>>
>> C:\dev\launchpad\scripting\resolver\src\main\java\org\apache\sling\scripting\res
>>> olver\impl\SlingScriptAdapterFactory.java:[75,16] type java.util.Listdoes
>>> not t
>>> ake parameters
>>>
>>>
>> C:\dev\launchpad\scripting\resolver\src\main\java\org\apache\sling\scripting\res
>>> olver\impl\SlingScriptAdapterFactory.java:[77,16] type java.util.Listdoes
>>> not t
>>> ake parameters
>>>
>>>
>> C:\dev\launchpad\scripting\resolver\src\main\java\org\apache\sling\scripting\res
>>> olver\impl\SlingScriptAdapterFactory.java:[83,17] type java.lang.Classdoes
>>> not
>>> take parameters
>>>
>>>
>> C:\dev\launchpad\scripting\resolver\src\main\java\org\apache\sling\scripting\res
>>> olver\impl\helper\OnDemandWriter.java:[44,5] cannot find symbol
>>> symbol  : class Override
>>> location: class
>>> org.apache.sling.scripting.resolver.impl.helper.OnDemandWriter
>>>
>>>
>> C:\dev\launchpad\scripting\resolver\src\main\java\org\apache\sling\scripting\res
>>> olver\impl\helper\OnDemandWriter.java:[51,5] cannot find symbol
>>> symbol  : class Override
>>> location: class
>>> org.apache.sling.scripting.resolver.impl.helper.OnDemandWriter
>>>
>>> On 1/29/08, Gert Vanthienen <[hidden email]> wrote:
>>>> Bernard,
>>>>
>>>> An 'svn up;mvn clean install' fixed the issue.
>>>>
>>>> Thank you for the fast reponse,
>>>>
>>>> Gert
>>>>
>>>> Bertrand Delacretaz wrote:
>>>>> On Jan 29, 2008 3:16 PM, Gert Vanthienen <[hidden email]>
>>>> wrote:
>>>>>> ...I ran
>>>>>> into a problem when executing the 'curl ...' command to add a first
>>>> node
>>>>>> of content:
>>>>>>
>>>>>> Method POST not supported (405)...
>>>>>>
>>>>> When running this?
>>>>>
>>>>> curl -F"sling:resourceType=foo/bar" -F"title=some title"
>>>>> http://admin:admin@localhost:8080/content/mynode
>>>>>
>>>>> As the Sling modules start asynchronously, what might happen is that
>>>>> they're not ready yet. But startup shouldn't take more than a few
>>>>> seconds on a decent system.
>>>>>
>>>>> If retrying doesn't help, have a look at the log created under
>>>>> launchpad-webapp/target/logs/error.log, and if any errors are
>>>>> reported. I've just added the info about that log file to the wiki
>>>>> page.
>>>>>
>>>>> -Bertrand
>>>>>
>>>>>
>>>
>>
>> --
>> Carsten Ziegeler
>> [hidden email]
>>
>
>
>


--
Carsten Ziegeler
[hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Discover Sling in 15 minutes

Michael Marth
no joy either :(

Michael

Downloading:
http://repo1.maven.org/maven2/org/mortbay/jetty/mvn-jetty-plugin/6.
1.5/mvn-jetty-plugin-6.1.5.pom
Downloading:
http://repo.dev.day.com/central/org/mortbay/jetty/mvn-jetty-plugin/
6.1.5/mvn-jetty-plugin-6.1.5.pom
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

GroupId: org.mortbay.jetty
ArtifactId: mvn-jetty-plugin
Version: 6.1.5

Reason: Unable to download the artifact from any repository

  org.mortbay.jetty:mvn-jetty-plugin:pom:6.1.5

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)

On 2/1/08, Carsten Ziegeler <[hidden email]> wrote:

>
> Hmm, that's strange, it seems mvn can't find the jetty plugin.
> You could try
> "mvn org.mortbay.jetty:mvn-jetty-plugin:6.1.5:run" instead
>
> Carsten
>
> Michael Marth wrote:
> > Hi Carsten,
> >
> > thanks, but there's a different problem now (see below). I thought that
> > maybe just the tests fail, but mvn jetty:run does not work either:
> >
> > [INFO] Searching repository for plugin with prefix: 'jetty'.
> > [INFO] org.apache.maven.plugins: checking for updates from central
> > [INFO] org.codehaus.mojo: checking for updates from central
> > [INFO] artifact org.apache.maven.plugins:maven-jetty-plugin: checking
> for
> > update
> > s from central
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] BUILD ERROR
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] The plugin 'org.apache.maven.plugins:maven-jetty-plugin' does not
> > exist o
> > r no valid version could be found
> >
> >
> > Can I try anything else?
> > Thanks a lot
> > Michael
> >
> >
> >
> > 2008-02-01 15:44:12.609::INFO:  Logging to STDERR via
> > org.mortbay.log.StdErrLog
> > 2008-02-01 15:44:12.656::INFO:  jetty-6.1.1rc1
> > 2008-02-01 15:44:12.812::INFO:  Extract
> > jar:file:/C:/dev/launchpad/launchpad/lau
> > nchpad-webapp/target/org.apache.sling.launchpad.webapp-
> > 2.0.0-incubator-SNAPSHOT.
> > war!/ to
> > C:\DOCUME~1\mmarth\LOCALS~1\Temp\Jetty_0_0_0_0_8080_org.apache.sling.la
> >
> unchpad.webapp-2.0.0-incubator-SNAPSHOT.war__org_apache_sling_launchpad_webapp-2
> > _0_0-incubator-SNAPSHOT__ybspfb\webapp
> > 2008-02-01 15:44:
> > 21.921:/org.apache.sling.launchpad.webapp-2.0.0-incubator-SNAPS
> > HOT:INFO:  sling: Servlet sling initialized
> > 2008-02-01 15:44:21.921::INFO:  Extract
> > jar:file:/C:/dev/launchpad/launchpad/lau
> > nchpad-webapp/target/jetty6x/cargocpc.war!/ to
> > C:\DOCUME~1\mmarth\LOCALS~1\Temp\
> > Jetty_0_0_0_0_8080_cargocpc.war__cargocpc__xflgf3\webapp
> > 2008-02-01 15:44:22.515::INFO:  Started SelectChannelConnector @
> > 0.0.0.0:8080
> > [INFO] [beddedLocalContainer] Jetty 6.x Embedded started on port [8080]
> > [INFO] [surefire:test {execution: surefire-integration-test}]
> > [INFO] Surefire report directory:
> > C:\dev\launchpad\launchpad\launchpad-webapp\ta
> > rget\surefire-reports
> >
> > -------------------------------------------------------
> >  T E S T S
> > -------------------------------------------------------
> > Running
> > org.apache.sling.launchpad.webapp.integrationtest.PropertyRenderingTest
> > log4j:WARN No appenders could be found for logger (
> > org.apache.commons.httpclient
> > ..HttpClient).
> > log4j:WARN Please initialize the log4j system properly.
> > Checking if the required Sling services are started...
> > Checking if the required Sling services are started...
> > Checking if the required Sling services are started...
> > Checking if the required Sling services are started...
> > Checking if the required Sling services are started...
> > Checking if the required Sling services are started...
> > Tests run: 6, Failures: 6, Errors: 0, Skipped: 0, Time elapsed: 10.078sec
> > <<< F
> > AILURE!
> > Running
> org.apache.sling.launchpad.webapp.integrationtest.JsonRenderingTest
> > Checking if the required Sling services are started...
> > Checking if the required Sling services are started...
> > Checking if the required Sling services are started...
> > Checking if the required Sling services are started...
> > Checking if the required Sling services are started...
> > Checking if the required Sling services are started...
> > Checking if the required Sling services are started...
> > Tests run: 7, Failures: 7, Errors: 0, Skipped: 0, Time elapsed: 0.125sec
> > <<< FA
> > ILURE!
> > Running org.apache.sling.launchpad.webapp.integrationtest.IncludeTest
> > Checking if the required Sling services are started...
> > Checking if the required Sling services are started...
> > Checking if the required Sling services are started...
> > Tests run: 3, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 0.016sec
> > <<< FA
> > ILURE!
> > Running
> org.apache.sling.launchpad.webapp.integrationtest.GetWithSuffixTest
> > Checking if the required Sling services are started...
> > Checking if the required Sling services are started...
> > Checking if the required Sling services are started...
> > Tests run: 3, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 0.14 sec
> <<<
> > FAI
> > LURE!
> > Running org.apache.sling.launchpad.webapp.integrationtest.UploadFileTest
> > Checking if the required Sling services are started...
> > Checking if the required Sling services are started...
> > Checking if the required Sling services are started...
> > Tests run: 3, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 0.016sec
> > <<< FA
> > ILURE!
> > Running
> > org.apache.sling.launchpad.webapp.integrationtest.ujax.PostServletOrderT
> > est
> > Checking if the required Sling services are started...
> > Checking if the required Sling services are started...
> > Checking if the required Sling services are started...
> > Tests run: 3, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 0.14 sec
> <<<
> > FAI
> > LURE!
> > Running
> > org.apache.sling.launchpad.webapp.integrationtest.NodetypeRenderingTest
> > Checking if the required Sling services are started...
> > Checking if the required Sling services are started...
> > Checking if the required Sling services are started...
> > Checking if the required Sling services are started...
> > Checking if the required Sling services are started...
> > Checking if the required Sling services are started...
> > Tests run: 6, Failures: 6, Errors: 0, Skipped: 0, Time elapsed: 0.032sec
> > <<< FA
> > ILURE!
> > Running org.apache.sling.launchpad.webapp.integrationtest.ValueFromTest
> > Checking if the required Sling services are started...
> > Checking if the required Sling services are started...
> > Checking if the required Sling services are started...
> > Tests run: 3, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 0.047sec
> > <<< FA
> > ILURE!
> > Running
> > org.apache.sling.launchpad.webapp.integrationtest.GeneratedNodeNameTest
> > Checking if the required Sling services are started...
> > Checking if the required Sling services are started...
> > Checking if the required Sling services are started...
> > Checking if the required Sling services are started...
> > Tests run: 4, Failures: 4, Errors: 0, Skipped: 0, Time elapsed: 0.015sec
> > <<< FA
> > ILURE!
> > Running
> org.apache.sling.launchpad.webapp.integrationtest.PostRedirectTest
> > Checking if the required Sling services are started...
> > Checking if the required Sling services are started...
> > Checking if the required Sling services are started...
> > Checking if the required Sling services are started...
> > Tests run: 4, Failures: 4, Errors: 0, Skipped: 0, Time elapsed: 0.016sec
> > <<< FA
> > ILURE!
> > Running
> > org.apache.sling.launchpad.webapp.integrationtest.ScriptBuiltinObjectsTe
> > st
> > Checking if the required Sling services are started...
> > Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0 sec
> <<<
> > FAILUR
> > E!
> > Running
> > org.apache.sling.launchpad.webapp.integrationtest.ujax.UjaxSessionInfoTe
> > st
> > Checking if the required Sling services are started...
> > Checking if the required Sling services are started...
> > Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.062sec
> > <<< FA
> > ILURE!
> > Running
> > org.apache.sling.launchpad.webapp.integrationtest.SyntheticResourceTest
> > Checking if the required Sling services are started...
> > Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0 sec
> <<<
> > FAILUR
> > E!
> > Running org.apache.sling.launchpad.webapp.integrationtest.HttpPingTest
> > Checking if the required Sling services are started...
> > Checking if the required Sling services are started...
> > Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.125sec
> > <<< FA
> > ILURE!
> > Running org.apache.sling.launchpad.webapp.integrationtest.FileUploadTest
> > Checking if the required Sling services are started...
> > Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.016sec
> > <<< FA
> > ILURE!
> > Running org.apache.sling.launchpad.webapp.integrationtest.CreateNodeTest
> > Checking if the required Sling services are started...
> > Checking if the required Sling services are started...
> > Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.078sec
> > <<< FA
> > ILURE!
> > Running
> > org.apache.sling.launchpad.webapp.integrationtest.ujax.UjaxDefaultValues
> > Test
> > Checking if the required Sling services are started...
> > Checking if the required Sling services are started...
> > Checking if the required Sling services are started...
> > Checking if the required Sling services are started...
> > Tests run: 4, Failures: 4, Errors: 0, Skipped: 0, Time elapsed: 0.016sec
> > <<< FA
> > ILURE!
> > Running
> org.apache.sling.launchpad.webapp.integrationtest.StaticContentTest
> > Checking if the required Sling services are started...
> > Checking if the required Sling services are started...
> > Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.015sec
> > <<< FA
> > ILURE!
> > Running
> org.apache.sling.launchpad.webapp.integrationtest.StreamServletTest
> > Checking if the required Sling services are started...
> > Checking if the required Sling services are started...
> > Checking if the required Sling services are started...
> > Checking if the required Sling services are started...
> > Tests run: 4, Failures: 4, Errors: 0, Skipped: 0, Time elapsed: 0 sec
> <<<
> > FAILUR
> > E!
> > Running
> > org.apache.sling.launchpad.webapp.integrationtest.ujax.PostServletUpdate
> > Test
> > Checking if the required Sling services are started...
> > Checking if the required Sling services are started...
> > Checking if the required Sling services are started...
> > Checking if the required Sling services are started...
> > Tests run: 4, Failures: 4, Errors: 0, Skipped: 0, Time elapsed: 0.141sec
> > <<< FA
> > ILURE!
> >
> > On 2/1/08, Carsten Ziegeler <[hidden email]> wrote:
> >> Just update from svn and try again :) It works now...
> >>
> >> Carsten
> >>
> >> Michael Marth wrote:
> >>> Guys,
> >>>
> >>> just tried to do the 15 minutes tutorial, but I get a compilation
> error
> >> (mvn
> >>> clean install) - see below. I use
> >>> C:\dev\launchpad>mvn -version
> >>> Maven version: 2.0.7
> >>> Java version: 1.5.0_13
> >>>
> >>> Does anybody have an idea? The error looks strange to me. Also tried
> to
> >>> delete my mvn repo, but no success either.
> >>>
> >>> thanks for pointers
> >>> Cheers
> >>> Michael
> >>>
> >>>
> >>>
> >>> [INFO]
> >>>
> >>
> -------------------------------------------------------------------------
> >>> ---
> >>> [INFO] Building Sling - ScriptResolver implementation
> >>> [INFO]    task-segment: [clean, install]
> >>> [INFO]
> >>>
> >>
> -------------------------------------------------------------------------
> >>> ---
> >>> [INFO] [clean:clean]
> >>> [INFO] Deleting directory C:\dev\launchpad\scripting\resolver\target
> >>> [INFO] [enforcer:enforce {execution: enforce-java}]
> >>> [INFO] [dependency:copy {execution: get-bsf3-api}]
> >>> [INFO] Configured Artifact: org.apache.bsf:bsf-api:3.0-beta2:jar
> >>> [INFO] Copying bsf-api-3.0-beta2.jar to
> >>> C:\dev\launchpad\scripting\resolver\targ
> >>> et\dependency\bsf-api.jar
> >>> [INFO] [resources:resources]
> >>> [INFO] Using default encoding to copy filtered resources.
> >>> [INFO] [compiler:compile]
> >>> [INFO] Compiling 8 source files to
> >>> C:\dev\launchpad\scripting\resolver\target\cl
> >>> asses
> >>> [INFO]
> >>>
> ------------------------------------------------------------------------
> >>> [ERROR] BUILD FAILURE
> >>> [INFO]
> >>>
> ------------------------------------------------------------------------
> >>> [INFO] Compilation failure
> >>>
> >>>
> >>
> C:\dev\launchpad\scripting\resolver\src\main\java\org\apache\sling\scripting\res
> >>> olver\impl\DefaultSlingScript.java:[76,22] type
> java.util.Dictionarydoes
> >>> not ta
> >>> ke parameters
> >>>
> >>>
> >>
> C:\dev\launchpad\scripting\resolver\src\main\java\org\apache\sling\scripting\res
> >>> olver\impl\DefaultSlingScript.java:[192,22] type
> java.util.Enumerationdoes
> >>> not
> >>> take parameters
> >>>
> >>>
> >>
> C:\dev\launchpad\scripting\resolver\src\main\java\org\apache\sling\scripting\res
> >>> olver\impl\helper\OnDemandReader.java:[23,16] package java.nio does
> not
> >>> exist
> >>>
> >>>
> >>
> C:\dev\launchpad\scripting\resolver\src\main\java\org\apache\sling\scripting\res
> >>> olver\impl\helper\OnDemandReader.java:[70,20] cannot find symbol
> >>> symbol  : class CharBuffer
> >>> location: class
> >>> org.apache.sling.scripting.resolver.impl.helper.OnDemandReader
> >>>
> >>>
> >>
> C:\dev\launchpad\scripting\resolver\src\main\java\org\apache\sling\scripting\res
> >>> olver\impl\helper\OnDemandReader.java:[70,15] read(char[]) is already
> >>> defined in
> >>>  org.apache.sling.scripting.resolver.impl.helper.OnDemandReader
> >>>
> >>>
> >>
> C:\dev\launchpad\scripting\resolver\src\main\java\org\apache\sling\scripting\res
> >>> olver\impl\SlingScriptAdapterFactory.java:[75,16] type
> java.util.Listdoes
> >>> not t
> >>> ake parameters
> >>>
> >>>
> >>
> C:\dev\launchpad\scripting\resolver\src\main\java\org\apache\sling\scripting\res
> >>> olver\impl\SlingScriptAdapterFactory.java:[77,16] type
> java.util.Listdoes
> >>> not t
> >>> ake parameters
> >>>
> >>>
> >>
> C:\dev\launchpad\scripting\resolver\src\main\java\org\apache\sling\scripting\res
> >>> olver\impl\SlingScriptAdapterFactory.java:[83,17] type
> java.lang.Classdoes
> >>> not
> >>> take parameters
> >>>
> >>>
> >>
> C:\dev\launchpad\scripting\resolver\src\main\java\org\apache\sling\scripting\res
> >>> olver\impl\helper\OnDemandWriter.java:[44,5] cannot find symbol
> >>> symbol  : class Override
> >>> location: class
> >>> org.apache.sling.scripting.resolver.impl.helper.OnDemandWriter
> >>>
> >>>
> >>
> C:\dev\launchpad\scripting\resolver\src\main\java\org\apache\sling\scripting\res
> >>> olver\impl\helper\OnDemandWriter.java:[51,5] cannot find symbol
> >>> symbol  : class Override
> >>> location: class
> >>> org.apache.sling.scripting.resolver.impl.helper.OnDemandWriter
> >>>
> >>> On 1/29/08, Gert Vanthienen <[hidden email]> wrote:
> >>>> Bernard,
> >>>>
> >>>> An 'svn up;mvn clean install' fixed the issue.
> >>>>
> >>>> Thank you for the fast reponse,
> >>>>
> >>>> Gert
> >>>>
> >>>> Bertrand Delacretaz wrote:
> >>>>> On Jan 29, 2008 3:16 PM, Gert Vanthienen <[hidden email]>
> >>>> wrote:
> >>>>>> ...I ran
> >>>>>> into a problem when executing the 'curl ...' command to add a first
> >>>> node
> >>>>>> of content:
> >>>>>>
> >>>>>> Method POST not supported (405)...
> >>>>>>
> >>>>> When running this?
> >>>>>
> >>>>> curl -F"sling:resourceType=foo/bar" -F"title=some title"
> >>>>> http://admin:admin@localhost:8080/content/mynode
> >>>>>
> >>>>> As the Sling modules start asynchronously, what might happen is that
> >>>>> they're not ready yet. But startup shouldn't take more than a few
> >>>>> seconds on a decent system.
> >>>>>
> >>>>> If retrying doesn't help, have a look at the log created under
> >>>>> launchpad-webapp/target/logs/error.log, and if any errors are
> >>>>> reported. I've just added the info about that log file to the wiki
> >>>>> page.
> >>>>>
> >>>>> -Bertrand
> >>>>>
> >>>>>
> >>>
> >>
> >> --
> >> Carsten Ziegeler
> >> [hidden email]
> >>
> >
> >
> >
>
>
> --
> Carsten Ziegeler
> [hidden email]
>



--
Michael Marth, http://dev.day.com
Reply | Threaded
Open this post in threaded view
|

Re: Discover Sling in 15 minutes

Bertrand Delacretaz
In reply to this post by Carsten Ziegeler
On Feb 1, 2008 4:23 PM, Carsten Ziegeler <[hidden email]> wrote:
> ...You could try
> "mvn org.mortbay.jetty:mvn-jetty-plugin:6.1.5:run" instead..

that'd be

   mvn org.mortbay.jetty:maven-jetty-plugin:6.1.5:run

-Bertrand

Reply | Threaded
Open this post in threaded view
|

Re: Discover Sling in 15 minutes

Michael Marth
Hi Betrand,

thanks. mvn now downloaded a lot of jars, but still it does not start :((

Cheers
Michael

[INFO] Preparing jetty:run
[INFO] [enforcer:enforce {execution: enforce-java}]
[INFO] [jetty:run]
[INFO] Configuring Jetty for project: Sling (Parent)
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Webapp source directory C:\dev\launchpad\parent\src\main\webapp does
not
exist
[INFO]
------------------------------------------------------------------------

On 2/1/08, Bertrand Delacretaz <[hidden email]> wrote:

>
> On Feb 1, 2008 4:23 PM, Carsten Ziegeler <[hidden email]> wrote:
> > ...You could try
> > "mvn org.mortbay.jetty:mvn-jetty-plugin:6.1.5:run" instead..
>
> that'd be
>
>    mvn org.mortbay.jetty:maven-jetty-plugin:6.1.5:run
>
> -Bertrand
>



--
Michael Marth, http://dev.day.com
Reply | Threaded
Open this post in threaded view
|

Re: Discover Sling in 15 minutes

Carsten Ziegeler
In reply to this post by Bertrand Delacretaz
Bertrand Delacretaz wrote:
> On Feb 1, 2008 4:23 PM, Carsten Ziegeler <[hidden email]> wrote:
>> ...You could try
>> "mvn org.mortbay.jetty:mvn-jetty-plugin:6.1.5:run" instead..
>
> that'd be
>
>    mvn org.mortbay.jetty:maven-jetty-plugin:6.1.5:run
>
Yepp, sorry for the typo.

Carsten

--
Carsten Ziegeler
[hidden email]