RE: [T5] tutorial question

2007-09-20 Thread Kolesnikov, Alexander GNI
Hi Robert,

There is no need to persist the injected page. Your original version
should work OK. What exactly the NPE says?

Also, as a comment, back to version 4 is not entirely correct. As a
matter of fact, Tapestry 4 and Tapestry 5 seem to be two different
frameworks with their own merits (IMHO).

Cheers,

Alexander

-Original Message-
From: Robert A. Decker [mailto:[EMAIL PROTECTED] 
Sent: 20 September 2007 04:08
To: users@tapestry.apache.org
Subject: [T5] tutorial question


I'm teaching myself Tapestry by jumping right into version 5. I'm a  
pretty experienced developer and so I'm not ready to give up and go  
back to version 4, but I am having what is probably a very basic  
problem...

I'm trying to do the Tapestry 5 tutorial and I'm on the section where  
we count the number of guesses on Guess page page:
http://tapestry.apache.org/tapestry5/tutorial1/hilo.html

The tutorial doesn't fully cover what should be in Guess.java

This method:
Object onActionFromLink(int guess) {
 _count++;
 if (guess == _target) {
 _gameOver.setup(_count);
 return _gameOver;
 }

if (guess  _target)
  _message = String.format(%d is too low., guess);
else
  _message = String.format(%d is too high., guess);

return null;
}

GameOver is another page in the app. Not knowing exactly what I  
should do, I have declared as a variable in Guess.java:
@InjectPage
GameOver _gameOver;


However, this is leading to a NullPointerException, which kind of  
makes sense because GameOver isn't persisted. So, I tried: @InjectPage
@Persist GameOver _gameOver

But that doesn't fix the problem, and documentation I found in  
Tapestry 4 seems to say that you can't declare multiple injection  
tags per variable.

Does anyone have a working Tapestry 5 tutorial? Or can help me with  
this specific problem?

I've also tried something like:
GameOver _gameOver = new GameOver();
_gameOver.setup(_count);
return _gameOver;

(the WebObjects way) but that leads to an even weirder exception...

Thanks,
Robert A. Decker

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--
CONFIDENTIALITY NOTICE: If you have received this email in error, please 
immediately notify the sender by e-mail at the address shown.  This email 
transmission may contain confidential information.  This information is 
intended only for the use of the individual(s) or entity to whom it is intended 
even if addressed incorrectly.  Please delete it from your files if you are not 
the intended recipient.  Thank you for your compliance.  Copyright 2007 CIGNA
==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [T5] tutorial question

2007-09-20 Thread SergeEby

Looks like you missed an important section of the tutorial:


 excerpt ---

We do need a basic GameOver page.

src/main/webapp/WEB-INF/GameOver.html:

html xmlns:t=http://tapestry.apache.org/schema/tapestry_5_0_0.xsd;
  head
titleGame Over!/title
  /head
  body

h1Game Over/h1

p You guessed the secret number!  /p


  /body
/html

src/main/java/org/apache/tapestry/tutorial/pages/GameOver.java:

package org.apache.tapestry.tutorial.pages;

public class GameOver
{

}

With this in place, we can make guesses, and get feedback from the
application:



/Serge


Robert A. Decker-2 wrote:
 
 I'm teaching myself Tapestry by jumping right into version 5. I'm a  
 pretty experienced developer and so I'm not ready to give up and go  
 back to version 4, but I am having what is probably a very basic  
 problem...
 
 I'm trying to do the Tapestry 5 tutorial and I'm on the section where  
 we count the number of guesses on Guess page page:
 http://tapestry.apache.org/tapestry5/tutorial1/hilo.html
 
 The tutorial doesn't fully cover what should be in Guess.java
 
 This method:
 Object onActionFromLink(int guess) {
  _count++;
  if (guess == _target) {
  _gameOver.setup(_count);
  return _gameOver;
  }
 
   if (guess  _target)
 _message = String.format(%d is too low., guess);
   else
 _message = String.format(%d is too high., guess);
 
   return null;
 }
 
 GameOver is another page in the app. Not knowing exactly what I  
 should do, I have declared as a variable in Guess.java:
   @InjectPage
   GameOver _gameOver;
 
 
 However, this is leading to a NullPointerException, which kind of  
 makes sense because GameOver isn't persisted. So, I tried:
 @InjectPage @Persist
 GameOver _gameOver
 
 But that doesn't fix the problem, and documentation I found in  
 Tapestry 4 seems to say that you can't declare multiple injection  
 tags per variable.
 
 Does anyone have a working Tapestry 5 tutorial? Or can help me with  
 this specific problem?
 
 I've also tried something like:
 GameOver _gameOver = new GameOver();
 _gameOver.setup(_count);
 return _gameOver;
 
 (the WebObjects way) but that leads to an even weirder exception...
 
 Thanks,
 Robert A. Decker
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/-T5--tutorial-question-tf4487116.html#a12804208
Sent from the Tapestry - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [T5] Tutorial question

2007-09-19 Thread Robert A. Decker

Thank you! That was it - declaring it private fixed it:
private GameOver _gameOver;

I now just inject the page but don't persist it.

I'll have to try to read up on what you mean by 'enhance private  
variables'...


R


On Sep 19, 2007, at 8:20 PM, Robert Zeigler wrote:


Background: I've never done the T5 tutorial.
But I do have functional T5 apps.

Few things:
1) In T5, multiple annotations/item are supported
2) You don't need to persist the page. You might need to persist  
values that each page needs, but you don't need to persist the pages.

3) Tapestry will only enhance private variables. Your declaration:
@InjectPage
GameOver _gameOver

should be:

@InjectPage
private GameOver _gameOver

Check the tapestry logging output; it should warn you that it  
didn't enhance the _gameOver field.


Cheers,

Robert

On Sep 19, 2007, at 9/1910:09 PM , Robert A. Decker wrote:

I'm teaching myself Tapestry by jumping right into version 5. I'm  
a pretty experienced developer and so I'm not ready to give up and  
go back to version 4, but I am having what is probably a very  
basic problem...


I'm trying to do the Tapestry 5 tutorial and I'm on the section  
where we count the number of guesses on Guess page page:

http://tapestry.apache.org/tapestry5/tutorial1/hilo.html

The tutorial doesn't fully cover what should be in Guess.java

This method:
Object onActionFromLink(int guess) {
_count++;
if (guess == _target) {
_gameOver.setup(_count);
return _gameOver;
}

if (guess  _target)
  _message = String.format(%d is too low., guess);
else
  _message = String.format(%d is too high., guess);

return null;
}

GameOver is another page in the app. Not knowing exactly what I  
should do, I have declared as a variable in Guess.java:

@InjectPage
GameOver _gameOver;


However, this is leading to a NullPointerException, which kind of  
makes sense because GameOver isn't persisted. So, I tried:

@InjectPage @Persist
GameOver _gameOver

But that doesn't fix the problem, and documentation I found in  
Tapestry 4 seems to say that you can't declare multiple injection  
tags per variable.


Does anyone have a working Tapestry 5 tutorial? Or can help me  
with this specific problem?


I've also tried something like:
GameOver _gameOver = new GameOver();
_gameOver.setup(_count);
return _gameOver;

(the WebObjects way) but that leads to an even weirder exception...

Thanks,
Robert A. Decker


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [T5] Tutorial question

2007-09-19 Thread Nick Westgate

See Instance variables must be private:
http://tapestry.apache.org/tapestry5/tapestry-core/guide/component-classes.html

Cheers,
Nick.


Robert A. Decker wrote:

Thank you! That was it - declaring it private fixed it:
private GameOver _gameOver;

I now just inject the page but don't persist it.

I'll have to try to read up on what you mean by 'enhance private 
variables'...


R


On Sep 19, 2007, at 8:20 PM, Robert Zeigler wrote:


Background: I've never done the T5 tutorial.
But I do have functional T5 apps.

Few things:
1) In T5, multiple annotations/item are supported
2) You don't need to persist the page. You might need to persist 
values that each page needs, but you don't need to persist the pages.

3) Tapestry will only enhance private variables. Your declaration:
@InjectPage
GameOver _gameOver

should be:

@InjectPage
private GameOver _gameOver

Check the tapestry logging output; it should warn you that it didn't 
enhance the _gameOver field.


Cheers,

Robert

On Sep 19, 2007, at 9/1910:09 PM , Robert A. Decker wrote:

I'm teaching myself Tapestry by jumping right into version 5. I'm a 
pretty experienced developer and so I'm not ready to give up and go 
back to version 4, but I am having what is probably a very basic 
problem...


I'm trying to do the Tapestry 5 tutorial and I'm on the section where 
we count the number of guesses on Guess page page:

http://tapestry.apache.org/tapestry5/tutorial1/hilo.html

The tutorial doesn't fully cover what should be in Guess.java

This method:
Object onActionFromLink(int guess) {
_count++;
if (guess == _target) {
_gameOver.setup(_count);
return _gameOver;
}

if (guess  _target)
  _message = String.format(%d is too low., guess);
else
  _message = String.format(%d is too high., guess);

return null;
}

GameOver is another page in the app. Not knowing exactly what I 
should do, I have declared as a variable in Guess.java:

@InjectPage
GameOver _gameOver;


However, this is leading to a NullPointerException, which kind of 
makes sense because GameOver isn't persisted. So, I tried:

@InjectPage @Persist
GameOver _gameOver

But that doesn't fix the problem, and documentation I found in 
Tapestry 4 seems to say that you can't declare multiple injection 
tags per variable.


Does anyone have a working Tapestry 5 tutorial? Or can help me with 
this specific problem?


I've also tried something like:
GameOver _gameOver = new GameOver();
_gameOver.setup(_count);
return _gameOver;

(the WebObjects way) but that leads to an even weirder exception...

Thanks,
Robert A. Decker


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [T5] - Tutorial Error

2007-09-13 Thread banmig

Sorry:

is guess.link or guess.guess in What is guess.link?  ??


banmig wrote:
 
 I believe that the documentation of the tutorial one is incorrect:]
 
 
 
 pMake a guess between one and ten:/p
 
 t:loop source=1..10 value=guess
   t:actionlink t:id=guess context=guess${guess}/t:actionlink
 /t:loop
 
   /body
 
 
 In the same page:
 
 What is guess.link? That's the name of the page, guess, and the id of
 the component (link, as explicitly set with the t:id attribute).
 
 More below:
 
 
 
 String onActionFromLink(int guess)
   {
 if (guess == _target) return GameOver;
 
 if (guess  _target)
   _message = String.format(%d is too low., guess);
 else
   _message = String.format(%d is too high., guess);
 
 return null;
   }
 
 
 
 [],
 Anderson
 
 

-- 
View this message in context: 
http://www.nabble.com/-T5Tutorial-Error-tf4437563.html#a12661642
Sent from the Tapestry - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: T5: Tutorial question.

2007-07-29 Thread SergeEby

Do a search in the mailing list. This question was answered a while ago.

/Serge
 

Alex Shneyderman wrote:
 
 Hi, all!
 
 I am trying out tapestry and was going through the tutorial and
 noticed that in the section about Guess.java the following:
 
   Object onActionFromLink(int guess)
   {
 _count++;
 
 if (guess == _target)
 {
   _gameOver.setup(_count);
   return _gameOver;
 }
 
 if (guess  _target)
   _message = String.format(%d is too low., guess);
 else
   _message = String.format(%d is too high., guess);
 
 return null;
   }
 
 
 this however does not work. I changed the name of the handler to
 
   Object onAction(int guess)
   {
   ...
   }
 
 and things started to work as expected. Did I miss something or it is
 a mess up in tutorial.
 
 -- 
 Thanks,
 Alex.
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/T5%3A-Tutorial-question.-tf4166391.html#a11854069
Sent from the Tapestry - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: T5 Tutorial

2007-07-12 Thread soir

Add version parameter as here:

mvn archetype:create -DarchetypeGroupId=org.apache.tapestry
-DarchetypeArtifactId=tapestry-simple -DarchetypeVersion=5.0.2
-DgroupId=org.example -DartifactId=myapp -DpackageName=org.example.myapp
-Dversion=1.0-SNAPSHOT

this will use version 1.0-snapshot of archetype plugin.


Nazmul Bhuiyan wrote:
 
 Hello,
 
 I'm following the T5 tutorial and getting the following error. I've ran
 this at my work pc. Is there any proxy issue here or some thing else?
 
 C:\tmpmvn archetype:create -DarchetypeGroupId=org.apache.tapestry
 -DarchetypeArtifactId=quickstart -DarchetypeVersion=5.0.5
 -DgroupId=org.apache.tapestry -DartifactId=tapestry-tutorial1
 -DpackageName=org.apache.tapestry.tutorial
 [INFO] Scanning for projects...
 [INFO] Searching repository for plugin with prefix: 'archetype'.
 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does
 not exist or no valid version could be found
 [INFO]
 
 [INFO] For more information, run Maven with the -e switch
 [INFO]
 
 [INFO] Total time:  1 second
 [INFO] Finished at: Tue Jul 10 11:38:50 NZST 2007
 [INFO] Final Memory: 1M/2M
 [INFO]
 
 

-- 
View this message in context: 
http://www.nabble.com/T5-Tutorial-tf4053179.html#a11560713
Sent from the Tapestry - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: T5 Tutorial

2007-07-09 Thread Howard Lewis Ship

What version of Maven are you using?

On 7/9/07, Nazmul Bhuiyan [EMAIL PROTECTED] wrote:


Hello,

I'm following the T5 tutorial and getting the following error. I've ran this
at my work pc. Is there any proxy issue here or some thing else?

C:\tmpmvn archetype:create -DarchetypeGroupId=org.apache.tapestry
-DarchetypeArtifactId=quickstart -DarchetypeVersion=5.0.5
-DgroupId=org.apache.tapestry -DartifactId=tapestry-tutorial1
-DpackageName=org.apache.tapestry.tutorial
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does not
exist or no valid version could be found
[INFO]

[INFO] For more information, run Maven with the -e switch
[INFO]

[INFO] Total time:  1 second
[INFO] Finished at: Tue Jul 10 11:38:50 NZST 2007
[INFO] Final Memory: 1M/2M
[INFO]

--
View this message in context: 
http://www.nabble.com/T5-Tutorial-tf4053179.html#a11513000
Sent from the Tapestry - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Howard M. Lewis Ship
TWD Consulting, Inc.
Independent J2EE / Open-Source Java Consultant
Creator and PMC Chair, Apache Tapestry
Creator, Apache HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: T5 Tutorial

2007-07-09 Thread Bhuiyan, Nazmul
C:\tmpmvn --version
Maven version: 2.0.5

-Original Message-
From: Howard Lewis Ship [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 10 July 2007 12:53 p.m.
To: Tapestry users
Subject: Re: T5 Tutorial

What version of Maven are you using?

On 7/9/07, Nazmul Bhuiyan [EMAIL PROTECTED] wrote:

 Hello,

 I'm following the T5 tutorial and getting the following error. I've
ran this
 at my work pc. Is there any proxy issue here or some thing else?

 C:\tmpmvn archetype:create -DarchetypeGroupId=org.apache.tapestry
 -DarchetypeArtifactId=quickstart -DarchetypeVersion=5.0.5
 -DgroupId=org.apache.tapestry -DartifactId=tapestry-tutorial1
 -DpackageName=org.apache.tapestry.tutorial
 [INFO] Scanning for projects...
 [INFO] Searching repository for plugin with prefix: 'archetype'.
 [INFO]


 [ERROR] BUILD ERROR
 [INFO]


 [INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin'
does not
 exist or no valid version could be found
 [INFO]


 [INFO] For more information, run Maven with the -e switch
 [INFO]


 [INFO] Total time:  1 second
 [INFO] Finished at: Tue Jul 10 11:38:50 NZST 2007
 [INFO] Final Memory: 1M/2M
 [INFO]


 --
 View this message in context:
http://www.nabble.com/T5-Tutorial-tf4053179.html#a11513000
 Sent from the Tapestry - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




-- 
Howard M. Lewis Ship
TWD Consulting, Inc.
Independent J2EE / Open-Source Java Consultant
Creator and PMC Chair, Apache Tapestry
Creator, Apache HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: T5 Tutorial

2007-07-09 Thread Donyee

I change 5.05 to 5.04,then it works fine.

2007/7/10, Howard Lewis Ship [EMAIL PROTECTED]:

What version of Maven are you using?

On 7/9/07, Nazmul Bhuiyan [EMAIL PROTECTED] wrote:

 Hello,

 I'm following the T5 tutorial and getting the following error. I've ran this
 at my work pc. Is there any proxy issue here or some thing else?

 C:\tmpmvn archetype:create -DarchetypeGroupId=org.apache.tapestry
 -DarchetypeArtifactId=quickstart -DarchetypeVersion=5.0.5
 -DgroupId=org.apache.tapestry -DartifactId=tapestry-tutorial1
 -DpackageName=org.apache.tapestry.tutorial
 [INFO] Scanning for projects...
 [INFO] Searching repository for plugin with prefix: 'archetype'.
 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does not
 exist or no valid version could be found
 [INFO]
 
 [INFO] For more information, run Maven with the -e switch
 [INFO]
 
 [INFO] Total time:  1 second
 [INFO] Finished at: Tue Jul 10 11:38:50 NZST 2007
 [INFO] Final Memory: 1M/2M
 [INFO]
 
 --
 View this message in context: 
http://www.nabble.com/T5-Tutorial-tf4053179.html#a11513000
 Sent from the Tapestry - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




--
Howard M. Lewis Ship
TWD Consulting, Inc.
Independent J2EE / Open-Source Java Consultant
Creator and PMC Chair, Apache Tapestry
Creator, Apache HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
徐 依伟


Re: T5 Tutorial

2007-07-09 Thread Howard Lewis Ship

And I'm on Maven 2.0.7 at this point.  This sure feels like a Maven
bug (it's complaining about a missing archetype plugin, not anything
to do with Tapestry specifically).

On 7/9/07, Donyee [EMAIL PROTECTED] wrote:

I change 5.05 to 5.04,then it works fine.

2007/7/10, Howard Lewis Ship [EMAIL PROTECTED]:
 What version of Maven are you using?

 On 7/9/07, Nazmul Bhuiyan [EMAIL PROTECTED] wrote:
 
  Hello,
 
  I'm following the T5 tutorial and getting the following error. I've ran this
  at my work pc. Is there any proxy issue here or some thing else?
 
  C:\tmpmvn archetype:create -DarchetypeGroupId=org.apache.tapestry
  -DarchetypeArtifactId=quickstart -DarchetypeVersion=5.0.5
  -DgroupId=org.apache.tapestry -DartifactId=tapestry-tutorial1
  -DpackageName=org.apache.tapestry.tutorial
  [INFO] Scanning for projects...
  [INFO] Searching repository for plugin with prefix: 'archetype'.
  [INFO]
  
  [ERROR] BUILD ERROR
  [INFO]
  
  [INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does not
  exist or no valid version could be found
  [INFO]
  
  [INFO] For more information, run Maven with the -e switch
  [INFO]
  
  [INFO] Total time:  1 second
  [INFO] Finished at: Tue Jul 10 11:38:50 NZST 2007
  [INFO] Final Memory: 1M/2M
  [INFO]
  
  --
  View this message in context: 
http://www.nabble.com/T5-Tutorial-tf4053179.html#a11513000
  Sent from the Tapestry - User mailing list archive at Nabble.com.
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 


 --
 Howard M. Lewis Ship
 TWD Consulting, Inc.
 Independent J2EE / Open-Source Java Consultant
 Creator and PMC Chair, Apache Tapestry
 Creator, Apache HiveMind

 Professional Tapestry training, mentoring, support
 and project work.  http://howardlewisship.com

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




--
徐 依伟




--
Howard M. Lewis Ship
TWD Consulting, Inc.
Independent J2EE / Open-Source Java Consultant
Creator and PMC Chair, Apache Tapestry
Creator, Apache HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com


RE: T5 Tutorial

2007-07-09 Thread Bhuiyan, Nazmul
Shall I use Maven 2.0.7?
In the tutorial you have mentioned to use Maven 2.0.5

-Original Message-
From: Howard Lewis Ship [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 10 July 2007 1:20 p.m.
To: Tapestry users
Subject: Re: T5 Tutorial

And I'm on Maven 2.0.7 at this point.  This sure feels like a Maven
bug (it's complaining about a missing archetype plugin, not anything
to do with Tapestry specifically).

On 7/9/07, Donyee [EMAIL PROTECTED] wrote:
 I change 5.05 to 5.04,then it works fine.

 2007/7/10, Howard Lewis Ship [EMAIL PROTECTED]:
  What version of Maven are you using?
 
  On 7/9/07, Nazmul Bhuiyan [EMAIL PROTECTED] wrote:
  
   Hello,
  
   I'm following the T5 tutorial and getting the following error. I've ran 
   this
   at my work pc. Is there any proxy issue here or some thing else?
  
   C:\tmpmvn archetype:create -DarchetypeGroupId=org.apache.tapestry
   -DarchetypeArtifactId=quickstart -DarchetypeVersion=5.0.5
   -DgroupId=org.apache.tapestry -DartifactId=tapestry-tutorial1
   -DpackageName=org.apache.tapestry.tutorial
   [INFO] Scanning for projects...
   [INFO] Searching repository for plugin with prefix: 'archetype'.
   [INFO]
   
   [ERROR] BUILD ERROR
   [INFO]
   
   [INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does 
   not
   exist or no valid version could be found
   [INFO]
   
   [INFO] For more information, run Maven with the -e switch
   [INFO]
   
   [INFO] Total time:  1 second
   [INFO] Finished at: Tue Jul 10 11:38:50 NZST 2007
   [INFO] Final Memory: 1M/2M
   [INFO]
   
   --
   View this message in context: 
   http://www.nabble.com/T5-Tutorial-tf4053179.html#a11513000
   Sent from the Tapestry - User mailing list archive at Nabble.com.
  
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
 
 
  --
  Howard M. Lewis Ship
  TWD Consulting, Inc.
  Independent J2EE / Open-Source Java Consultant
  Creator and PMC Chair, Apache Tapestry
  Creator, Apache HiveMind
 
  Professional Tapestry training, mentoring, support
  and project work.  http://howardlewisship.com
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 


 --
 徐 依伟



-- 
Howard M. Lewis Ship
TWD Consulting, Inc.
Independent J2EE / Open-Source Java Consultant
Creator and PMC Chair, Apache Tapestry
Creator, Apache HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com



Re: T5 Tutorial

2007-07-09 Thread Nick Westgate

Try upgrading to 2.0.7.

If that doesn't work, googling the error message suggests
it's a network/proxy problem.

http://maven.apache.org/guides/mini/guide-proxies.html

Cheers,
Nick.


Bhuiyan, Nazmul wrote:

Shall I use Maven 2.0.7?
In the tutorial you have mentioned to use Maven 2.0.5


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: T5 Tutorial

2007-07-09 Thread Bhuiyan, Nazmul
Hi Nick,

No luck yet and still getting the same error. 

I've upgraded to Maven 2.0.7 and modified the
maven-2.0.7\conf\settings.xml of maven as follows.

The proxy settings are exactly same as eclipse network settings. I'm
pretty sure proxy setting causing the problem.

Can you please check whether the proxy in settings.xml is ok or not?

  proxies
proxy
!-- idoptional/id --
  activetrue/active
  protocolhttp/protocol
host202.27.42.14/host
  port8080/port
  nonProxyHostslocalhost,127.0.0.1/nonProxyHosts
/proxy
  /proxies

I'll try this at home pc tonight and see if it works.

Thanks

Naz
-Original Message-
From: Nick Westgate [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 10 July 2007 2:51 p.m.
To: Tapestry users
Subject: Re: T5 Tutorial

Try upgrading to 2.0.7.

If that doesn't work, googling the error message suggests
it's a network/proxy problem.

http://maven.apache.org/guides/mini/guide-proxies.html

Cheers,
Nick.


Bhuiyan, Nazmul wrote:
 Shall I use Maven 2.0.7?
 In the tutorial you have mentioned to use Maven 2.0.5

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: T5 tutorial

2007-07-05 Thread Eko S.W.

Woa.
I just know that !
Now I am trying the Beaneditform

Thanks Howard et.al, for the work!

(I hope I can contribute)

2007/7/4, Robert Sanders [EMAIL PROTECTED]:


There are also a number of decent HTML Mirroring tools; which I've used
at various times to grab local copies of web sites. On windows
WinHTTrack (sp?), on Linux WGet works ok.


#Cyrille37# wrote:

 Read again Olasoji Ajayi's mail :


 I am new to T5, can anyone point me to some tutorial on T5 that I can
 download, I know there is documentation online but I don't have
regular
 internet access for the moment.
 He need some Off-Line doc.

 Perhaps he can make a book with htmldoc tool.

 cyrille

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Best wishes,
Eko SW
http://swdev.blogs.friendster.com/my_blog/


Re: T5 tutorial

2007-07-04 Thread #Cyrille37#


Read again Olasoji Ajayi's mail :



I am new to T5, can anyone point me to some tutorial on T5 that I can
download, I know there is documentation online but I don't have regular
internet access for the moment.

He need some Off-Line doc.

Perhaps he can make a book with htmldoc tool.

cyrille

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: T5 tutorial

2007-07-04 Thread Robert Sanders
There are also a number of decent HTML Mirroring tools; which I've used 
at various times to grab local copies of web sites. On windows 
WinHTTrack (sp?), on Linux WGet works ok.



#Cyrille37# wrote:


Read again Olasoji Ajayi's mail :



I am new to T5, can anyone point me to some tutorial on T5 that I can
download, I know there is documentation online but I don't have regular
internet access for the moment.

He need some Off-Line doc.

Perhaps he can make a book with htmldoc tool.

cyrille

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: T5 tutorial

2007-07-03 Thread Nick Westgate

The tutorial is now online:
http://tapestry.apache.org/tapestry5/tutorial1/

Cheers,
Nick.


Olasoji Ajayi wrote:
 


Hello Everybody,

 


I am new to T5, can anyone point me to some tutorial on T5 that I can
download, I know there is documentation online but I don't have regular
internet access for the moment. I downloaded a PDF file sometime ago
(t5-tutorial.pdf) but its incomplete, chapter 3 is missing.

 


Olasoji Ajayi



He who fights and runs away, lives to fight and run again

 





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: T5 tutorial

2007-07-03 Thread [EMAIL PROTECTED]


There is T5 tutorial (HTML) on the T5 site, you didn't found it?

http://tapestry.apache.org/tapestry5/tutorial1/



在 Tue, 03 Jul 2007 16:01:09 +0800,Olasoji Ajayi [EMAIL PROTECTED] 写道:



Hello Everybody,


I am new to T5, can anyone point me to some tutorial on T5 that I can
download, I know there is documentation online but I don't have regular
internet access for the moment. I downloaded a PDF file sometime ago
(t5-tutorial.pdf) but its incomplete, chapter 3 is missing.


Olasoji Ajayi



He who fights and runs away, lives to fight and run again






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: T5 tutorial not working out... Javassist, Maven problems

2007-06-20 Thread Marcus

Hi Marc,

Try 5.0.5-SNAPSHOT in POM.xml instead 5.0.4-SNAPSHOT

Marcus


Re: T5 tutorial not working out... Javassist, Maven problems

2007-06-20 Thread mad7777

Marcus,

wow, i can't believe that just worked!
i've been fighting this thing for a whole day.  thanks so much.

cheers,
Marc


Marcus-11 wrote:
 
 Hi Marc,
 
 Try 5.0.5-SNAPSHOT in POM.xml instead 5.0.4-SNAPSHOT
 
 Marcus
 
 

-- 
View this message in context: 
http://www.nabble.com/T5-tutorial-not-working-out...-Javassist%2C-Maven-problems-tf3953119.html#a11220332
Sent from the Tapestry - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: T5 tutorial not working out... Javassist, Maven problems

2007-06-20 Thread Renat Zubairov

Hi

May be this could help also

http://wiki.apache.org/tapestry/Tapestry5HowToCreateYourQuickstartWithMaven206

Renat

On 20/06/07, Marcus [EMAIL PROTECTED] wrote:

Hi Marc,

Try 5.0.5-SNAPSHOT in POM.xml instead 5.0.4-SNAPSHOT

Marcus




--
Best regards,
Renat Zubairov

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]