You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@shale.apache.org by Torsten Krah <tk...@fachschaft.imn.htwk-leipzig.de> on 2006/10/27 05:59:53 UTC

How to build the shale-test-dialog-scxml application?

Checked out the shale repository, but i am new to maven and its build
system, any hints are appreciated how to build the test app, so i can
have a closer look at the new dialogs :-)

thx.

Torsten


Re: How to build the shale-test-dialog-scxml application?

Posted by Matthias Wessendorf <ma...@apache.org>.
hey wendy,

now the build works behind the firewall :)
Look's like your thing fixed our issue.

the java.net was also annoying, since it had always a looooooooooooong timeout
(on linux... that was not a fun ;)

You rock! :)

On 10/27/06, Matthias Wessendorf <ma...@apache.org> wrote:
> Wendy,
>
> it was building for me. I try todody building Trinidad w/ your new
> version of the -parent pom.
>
> I definitely will let you know! :)
>
> -M
>
> On 10/26/06, Torsten Krah <tk...@fachschaft.imn.htwk-leipzig.de> wrote:
> > ;-)
> > Thanks for the help. The build was successfully, including the sample
> > app i am interested in.
> >
> > Torsten
> >
> > Am Donnerstag, den 26.10.2006, 22:28 -0700 schrieb Wendy Smoak:
> > > On 10/26/06, Torsten Krah <tk...@fachschaft.imn.htwk-leipzig.de> wrote:
> > >
> > > > Thx, now it starts the build, but it fails at:
> > > >
> > > > Compiling 1 source file
> > > > to /home/tkrah/Development/src/shale-parent/shale-tiles/target/classes
> > >
> > > Darn.  I just ran into that at Struts.  Tiles 2 has changed out from under us.
> > >
> > > Well, you wanted to learn more about Maven anyway, right? ;)
> > >
> > > Edit the framework/pom.xml file, and delete this line:
> > >
> > >   <module>shale-tiles</module>
> > >
> > > Then try 'mvn install' again.  As long as the example app you're
> > > interested in doesn't use Tiles, you should be okay.
> > >
> >
> >
>
>
> --
> Matthias Wessendorf
> http://tinyurl.com/fmywh
>
> further stuff:
> blog: http://jroller.com/page/mwessendorf
> mail: mwessendorf-at-gmail-dot-com
>


-- 
Matthias Wessendorf
http://tinyurl.com/fmywh

further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com

Re: How to build the shale-test-dialog-scxml application?

Posted by Matthias Wessendorf <ma...@apache.org>.
Wendy,

it was building for me. I try todody building Trinidad w/ your new
version of the -parent pom.

I definitely will let you know! :)

-M

On 10/26/06, Torsten Krah <tk...@fachschaft.imn.htwk-leipzig.de> wrote:
> ;-)
> Thanks for the help. The build was successfully, including the sample
> app i am interested in.
>
> Torsten
>
> Am Donnerstag, den 26.10.2006, 22:28 -0700 schrieb Wendy Smoak:
> > On 10/26/06, Torsten Krah <tk...@fachschaft.imn.htwk-leipzig.de> wrote:
> >
> > > Thx, now it starts the build, but it fails at:
> > >
> > > Compiling 1 source file
> > > to /home/tkrah/Development/src/shale-parent/shale-tiles/target/classes
> >
> > Darn.  I just ran into that at Struts.  Tiles 2 has changed out from under us.
> >
> > Well, you wanted to learn more about Maven anyway, right? ;)
> >
> > Edit the framework/pom.xml file, and delete this line:
> >
> >   <module>shale-tiles</module>
> >
> > Then try 'mvn install' again.  As long as the example app you're
> > interested in doesn't use Tiles, you should be okay.
> >
>
>


-- 
Matthias Wessendorf
http://tinyurl.com/fmywh

further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com

Re: How to build the shale-test-dialog-scxml application?

Posted by Torsten Krah <tk...@fachschaft.imn.htwk-leipzig.de>.
;-)
Thanks for the help. The build was successfully, including the sample
app i am interested in.

Torsten

Am Donnerstag, den 26.10.2006, 22:28 -0700 schrieb Wendy Smoak:
> On 10/26/06, Torsten Krah <tk...@fachschaft.imn.htwk-leipzig.de> wrote:
> 
> > Thx, now it starts the build, but it fails at:
> >
> > Compiling 1 source file
> > to /home/tkrah/Development/src/shale-parent/shale-tiles/target/classes
> 
> Darn.  I just ran into that at Struts.  Tiles 2 has changed out from under us.
> 
> Well, you wanted to learn more about Maven anyway, right? ;)
> 
> Edit the framework/pom.xml file, and delete this line:
> 
>   <module>shale-tiles</module>
> 
> Then try 'mvn install' again.  As long as the example app you're
> interested in doesn't use Tiles, you should be okay.
> 


Re: How to build the shale-test-dialog-scxml application?

Posted by Wendy Smoak <ws...@gmail.com>.
On 10/26/06, Torsten Krah <tk...@fachschaft.imn.htwk-leipzig.de> wrote:

> Thx, now it starts the build, but it fails at:
>
> Compiling 1 source file
> to /home/tkrah/Development/src/shale-parent/shale-tiles/target/classes

Darn.  I just ran into that at Struts.  Tiles 2 has changed out from under us.

Well, you wanted to learn more about Maven anyway, right? ;)

Edit the framework/pom.xml file, and delete this line:

  <module>shale-tiles</module>

Then try 'mvn install' again.  As long as the example app you're
interested in doesn't use Tiles, you should be okay.

-- 
Wendy

Re: How to build the shale-test-dialog-scxml application?

Posted by Torsten Krah <tk...@fachschaft.imn.htwk-leipzig.de>.
Thx, now it starts the build, but it fails at:

Compiling 1 source file
to /home/tkrah/Development/src/shale-parent/shale-tiles/target/classes
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure

/home/tkrah/Development/src/shale-parent/shale-tiles/src/main/java/org/apache/shale/tiles/TilesViewHandler.java:[263,57] cannot find symbol
symbol  : method getInstance(java.lang.Object,java.lang.Object)
location: interface org.apache.tiles.context.TilesContextFactory

/home/tkrah/Development/src/shale-parent/shale-tiles/src/main/java/org/apache/shale/tiles/TilesViewHandler.java:[264,26] getDefinition(java.lang.String,org.apache.tiles.TilesRequestContext) in org.apache.tiles.TilesUtil cannot be applied to (java.lang.String,org.apache.tiles.TilesContext)

/home/tkrah/Development/src/shale-parent/shale-tiles/src/main/java/org/apache/shale/tiles/TilesViewHandler.java:[303,53] cannot find symbol
symbol  : method getInstance(java.lang.Object,java.lang.Object)
location: interface org.apache.tiles.context.TilesContextFactory

/home/tkrah/Development/src/shale-parent/shale-tiles/src/main/java/org/apache/shale/tiles/TilesViewHandler.java:[304,53] getContext(org.apache.tiles.TilesRequestContext) in org.apache.tiles.ComponentContext cannot be applied to (org.apache.tiles.TilesContext)

/home/tkrah/Development/src/shale-parent/shale-tiles/src/main/java/org/apache/shale/tiles/TilesViewHandler.java:[307,25] setContext(org.apache.tiles.ComponentContext,org.apache.tiles.TilesRequestContext) in org.apache.tiles.ComponentContext cannot be applied to (org.apache.tiles.ComponentContext,org.apache.tiles.TilesContext)


Can i skip this? And if i can, how to do it?

Torsten


Am Donnerstag, den 26.10.2006, 22:10 -0700 schrieb Wendy Smoak:
> On 10/26/06, Torsten Krah <tk...@fachschaft.imn.htwk-leipzig.de> wrote:
> 
> > Running mvn install in the framework directory - the ones where all
> > shale parts are in - results in this error:
> >
> > mvn install
> > [INFO] Scanning for projects...
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] FATAL ERROR
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Failed to resolve artifact.
> >
> > GroupId: org.apache.shale
> > ArtifactId: shale-master
> > Version: 2-SNAPSHOT
> >
> > Reason: Unable to download the artifact from any repository
> >
> >   org.apache.shale:shale-master:pom:2-SNAPSHOT
> >
> > from the specified remote repositories:
> >   central (http://repo1.maven.org/maven2)
> >
> > Don't know what to do here, any hints?
> 
> Heh.  Matthias?  Are you *sure* it builds without the snapshot
> repository in the shale-parent pom?
> 
> Torsten:  update your working copy and try it again.  I just added the
> snapshot repository back to the shale-parent pom.
> 


Re: How to build the shale-test-dialog-scxml application?

Posted by Wendy Smoak <ws...@gmail.com>.
On 10/26/06, Torsten Krah <tk...@fachschaft.imn.htwk-leipzig.de> wrote:

> Running mvn install in the framework directory - the ones where all
> shale parts are in - results in this error:
>
> mvn install
> [INFO] Scanning for projects...
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> GroupId: org.apache.shale
> ArtifactId: shale-master
> Version: 2-SNAPSHOT
>
> Reason: Unable to download the artifact from any repository
>
>   org.apache.shale:shale-master:pom:2-SNAPSHOT
>
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2)
>
> Don't know what to do here, any hints?

Heh.  Matthias?  Are you *sure* it builds without the snapshot
repository in the shale-parent pom?

Torsten:  update your working copy and try it again.  I just added the
snapshot repository back to the shale-parent pom.

-- 
Wendy

Re: How to build the shale-test-dialog-scxml application?

Posted by Torsten Krah <tk...@fachschaft.imn.htwk-leipzig.de>.
Thx for help.

Yes i've got maven 2.0.4 installed.

Running mvn install in the framework directory - the ones where all
shale parts are in - results in this error:

mvn install
[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

GroupId: org.apache.shale
ArtifactId: shale-master
Version: 2-SNAPSHOT

Reason: Unable to download the artifact from any repository

  org.apache.shale:shale-master:pom:2-SNAPSHOT

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

Don't know what to do here, any hints?

Torsten


Am Donnerstag, den 26.10.2006, 21:35 -0700 schrieb Wendy Smoak:
> On 10/26/06, Torsten Krah <tk...@fachschaft.imn.htwk-leipzig.de> wrote:
> 
> > Checked out the shale repository, but i am new to maven and its build
> > system, any hints are appreciated how to build the test app, so i can
> > have a closer look at the new dialogs :-)
> 
> Assuming you have Maven 2 installed, from the framework directory,
> type 'mvn install'.
> 
> Then from the example app you're interested in, 'mvn install' again,
> and you should find the .war file in the 'target' directory.
> 
> This may not work perfectly due to some recent infrastructure work at
> Apache.  Let us know if you have any trouble and we'll work through
> it.
> 
> This is slightly out of date... http://shale.apache.org/building.html
> 


Re: How to build the shale-test-dialog-scxml application?

Posted by Wendy Smoak <ws...@gmail.com>.
On 10/26/06, Torsten Krah <tk...@fachschaft.imn.htwk-leipzig.de> wrote:

> Checked out the shale repository, but i am new to maven and its build
> system, any hints are appreciated how to build the test app, so i can
> have a closer look at the new dialogs :-)

Assuming you have Maven 2 installed, from the framework directory,
type 'mvn install'.

Then from the example app you're interested in, 'mvn install' again,
and you should find the .war file in the 'target' directory.

This may not work perfectly due to some recent infrastructure work at
Apache.  Let us know if you have any trouble and we'll work through
it.

This is slightly out of date... http://shale.apache.org/building.html

-- 
Wendy