Even better to use
mvn archetype:generate -DarchetypeCatalog=http://tapestry.apache.org

We've tried to move stuff away from formos infrastructure

As for importing the project into eclipse, another option is the
m2eclipse plugin

On Wed, Jul 21, 2010 at 15:19, Chris Mylonas <ch...@mrvoip.com.au> wrote:
> Try this mate
>
>
> mvn archetype:generate
> -DarchetypeCatalog=http://tapestry.formos.com/maven-repository
>
> 1: http://tapestry.formos.com/maven-repository -> quickstart (Tapestry
> 5.1.0.5 Quickstart Project)
> Choose a number:  (1): 1
> Define value for groupId: : org.example
> Define value for artifactId: : myapp2
> Define value for version:  1.0-SNAPSHOT: :
> Define value for package:  org.example: : org.example.myapp2
> Confirm properties configuration:
> groupId: org.example
> artifactId: myapp2
> version: 1.0-SNAPSHOT
> package: org.example.myapp2
>  Y: :
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESSFUL
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 35 seconds
> [INFO] Finished at: Wed Feb 17 17:25:06 EST 2010
> [INFO] Final Memory: 8M/15M
> [INFO]
> ------------------------------------------------------------------------
>
>
> cd myapp2
> mvn jetty:run
> Then browse to localhost:8080/myapp2
> To create eclipse project files (.project .classpath)
>
> mvn eclipse:eclipse
>
> Then import the project into eclipse
>
>
>
> On 21/07/2010, at 10:13 PM, Newham, Cameron wrote:
>
>> Hi,
>>
>>
>>
>> I've been away from Tapestry for quite a while and haven't done any
>> serious Tapestry stuff for at least 9 months. I have come back to find
>> everything broken and I feel like a complete newbie <sigh>. Could
>> someone set me straight.
>>
>>
>>
>> Problem 1 (which I have solved) is that I found Maven refused, when
>> using the "Quickstart Archetype", to download
>> http://tapestry.formos.com/maven-snapshot-repository/archetype-catalog.x
>> ml  giving "connection refused" even though it had no trouble
>> downloading everything else and I could access this file via my browser.
>> I am behind a corporate firewall, so there seems to be an issue here
>> with this Tapestry repository location (I had no problems when I
>> attempted this at home). I spent two days on this and eventually got the
>> Maven source and modified LightweightWagon and hardcoded our proxy
>> server. Probably not the right thing to do but it worked - perhaps
>> someone can suggest what should be done (I tried everything including
>> various things in my settings.xml, the global settings.xml and even went
>> as far as using cntlm, although that was not necessary and didn't solve
>> it anyway).
>>
>>
>>
>> Problem 2 - http://tapestry.apache.org/tapestry5.1/tutorial1/first.html
>> is out of date and doesn't work. As I'm sure you are aware "create" is
>> deprecated. When it's changed to "generate" it does d/l a lot of stuff
>> but the build fails (it throws an exception inside Maven).
>>
>>
>>
>> Problem 3 - Having failed on (2) I tried the "Quickstart Archtype"
>> http://tapestry.apache.org/tapestry5.1/quickstart/  .  Great - it does
>> work and mvn jetty:run works. However, when I create a new Project and
>> place the code into Eclipse it does not work. I can't import it as it's
>> not an Eclipse Project. Jetty runs when the project is run in Eclipse
>> but the Index page in the browser just has "[[missing key: greeting]]"
>> and nothing else.
>>
>>
>>
>>
>>
>> To add to this tale of woe, my last big Tapestry project no longer
>> works. I fire it up and now get Jetty giving me a 503 code, yet it was
>> working fine a year ago.
>>
>>
>>
>> Anyway, I would just like a nice clean simple example that works in
>> Eclipse so I can begin coding a new webapp.
>>
>>
>>
>> I am at my wits end... :-(
>>
>>
>>
>>
>>
>
>



-- 
Andreas Andreou - andy...@apache.org - http://blog.andyhot.gr
Tapestry PMC / Tacos developer
Open Source / JEE Consulting

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to