Re: repo?.maven.org/.../tapestry*/5.2.0 ?!?!

2010-08-19 Thread Michal Gruca

That helped. Thanks :)
Anyway I still stick to my opinion that archetype should be fixed


Andreas Andreou-2 wrote:
> 
> Michal, edit the last few lines of pom.xml so that it sets
> tapestry-release-version to 5.2.0
> and then rerun mcn jetty:run
> 

-- 
View this message in context: 
http://tapestry-users.832.n2.nabble.com/repo-maven-org-tapestry-5-2-0-tp5437148p5439212.html
Sent from the Tapestry Users mailing list archive at Nabble.com.

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



Re: repo?.maven.org/.../tapestry*/5.2.0 ?!?!

2010-08-18 Thread Chris Mylonas
> I'm just a Tapestry lover that happens to be a Maven lover too. :) Maven has 
> its quirks, but, to me, it saves me more time than consume.
> 
>> We use ant-dependencies which chucks everything into my ~/.maven folder 
>> similar to maven2, so I don't feel I'm missing out a lot,
> 
> You're using Maven dependency management from Ant. Nice!

Tapestry is awesome, it frustrates me that I have to learn all this java tech 
around it though - I'm returning from a 6 year java holiday when xml files and 
servlets were a headache!

Yeah ant-dependencies is maven without the pom :)  just a simple 
http://localhost/~chrismylonas/jboss/jars/ solves my 
dependency stuff for compiling from ant.

> I never used EJB myself, so I cannot help you with this much. Using the 
> m2eclipse plugin (new project -> Maven project -> next), I've found some EJB 
> archetypes (ejb-jee5, ejb-javaee6) in the org.codehaus.mojo.archetypes group. 
> Have you tried them?

Yep - these fail.


So, when I have a problem, I usually ask the people around me for help by 
supplying a "Schooner* question" - the winner gets a schooner (it works with 
poor university students :)   So if anyone on this list can shed any light, 
i'll paypal you a schooner or two...   


*schooner is beer glassware, so in your part of the world it could be a 
Pint/Stein Question
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: repo?.maven.org/.../tapestry*/5.2.0 ?!?!

2010-08-18 Thread Thiago H. de Paula Figueiredo
On Wed, 18 Aug 2010 18:45:56 -0300, Chris Mylonas   
wrote:



Thanks for caring Thiago :)


I'm just a Tapestry lover that happens to be a Maven lover too. :) Maven  
has its quirks, but, to me, it saves me more time than consume.


We use ant-dependencies which chucks everything into my ~/.maven folder  
similar to maven2, so I don't feel I'm missing out a lot,


You're using Maven dependency management from Ant. Nice!

I never used EJB myself, so I cannot help you with this much. Using the  
m2eclipse plugin (new project -> Maven project -> next), I've found some  
EJB archetypes (ejb-jee5, ejb-javaee6) in the org.codehaus.mojo.archetypes  
group. Have you tried them?


--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,  
and instructor

Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

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



Re: repo?.maven.org/.../tapestry*/5.2.0 ?!?!

2010-08-18 Thread Thiago H. de Paula Figueiredo
On Wed, 18 Aug 2010 18:49:02 -0300, Michal Gruca   
wrote:


In  
http://repo1.maven.org/maven2/org/apache/tapestry/tapestry-annotations/

there really is no 5.2.x version


It's tapestry5-annotations (note the 5 there). Have you tried replacing  
5.2.0-SNAPSHOT by 5.2.0?


--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,  
and instructor

Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

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



Re: repo?.maven.org/.../tapestry*/5.2.0 ?!?!

2010-08-18 Thread Andreas Andreou
Michal, edit the last few lines of pom.xml so that it sets
tapestry-release-version to 5.2.0
and then rerun mcn jetty:run

On Thu, Aug 19, 2010 at 00:49, Michal Gruca  wrote:
>
> I got clean mvn due to recent hdd failure :/
> Maybe to be more specyfic: I go same way as You with archetype but after
> that when I try to run it with mvn jetty:run I get following (part of log)
>
> [ERROR] BUILD ERROR
> [INFO]
> 
> [INFO] Failed to resolve artifact.
>
> Missing:
> --
> 1) org.apache.tapestry:tapestry5-annotations:jar:5.2.0-SNAPSHOT
>
>  Try downloading the file manually from the project website.
>
> ...
>
> 2) org.apache.tapestry:tapestry-func:jar:5.2.0-SNAPSHOT
>
>  Try downloading the file manually from the project website.
>
>
>
> In http://repo1.maven.org/maven2/org/apache/tapestry/tapestry-annotations/
> there really is no 5.2.x version
> I'm not in best relation with maven (I don't like him and he don't like me
> ;) ) so maybe I'm doing sth wrong or I don't get sth.
> It's not vital for me to get 5.2 but I would like to try it.
> Any idea? (I get same errors in eclipse + m2)
> --
> View this message in context: 
> http://tapestry-users.832.n2.nabble.com/repo-maven-org-tapestry-5-2-0-tp5437148p5438099.html
> Sent from the Tapestry Users mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>



-- 
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



Re: repo?.maven.org/.../tapestry*/5.2.0 ?!?!

2010-08-18 Thread Michal Gruca

I got clean mvn due to recent hdd failure :/ 
Maybe to be more specyfic: I go same way as You with archetype but after
that when I try to run it with mvn jetty:run I get following (part of log)

[ERROR] BUILD ERROR
[INFO]

[INFO] Failed to resolve artifact.

Missing:
--
1) org.apache.tapestry:tapestry5-annotations:jar:5.2.0-SNAPSHOT

  Try downloading the file manually from the project website.

...

2) org.apache.tapestry:tapestry-func:jar:5.2.0-SNAPSHOT

  Try downloading the file manually from the project website.



In http://repo1.maven.org/maven2/org/apache/tapestry/tapestry-annotations/ 
there really is no 5.2.x version
I'm not in best relation with maven (I don't like him and he don't like me
;) ) so maybe I'm doing sth wrong or I don't get sth.
It's not vital for me to get 5.2 but I would like to try it.
Any idea? (I get same errors in eclipse + m2)
-- 
View this message in context: 
http://tapestry-users.832.n2.nabble.com/repo-maven-org-tapestry-5-2-0-tp5437148p5438099.html
Sent from the Tapestry Users mailing list archive at Nabble.com.

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



Re: repo?.maven.org/.../tapestry*/5.2.0 ?!?!

2010-08-18 Thread Chris Mylonas
>> Whilst we're on the subject of maven, I haven't been able to get any ejb or 
>> javaee related archetypes to start a project - so I've reverted back to ant 
>> and managing the dependencies by hand.  Can anyone shed any light on this 
>> ejb/javaee maven problem?
> 
> Wouldn't it be easier to use a Tapestry archetype, for example, and then add 
> the dependencies to the project's pom.xml?

Thanks for caring Thiago :)

Still, I'm fairly new to the newer java technologies - in my spare time I've 
been testing what works with maven and how to do stuff - lots of reading / 
testing..
I was trying to

1.  Create a project with a packaging of pom (wrapper for modules)
2.  Create sub modules { ejb, tapestry }
3.  build both modules to create an ear

So when the archetype for anything ejb or javaee related fails, maven as a 
whole fails for me, and i revert back to ant because it Just Works (tm)

It may be worth noting I'm working with a bunch of business code that's already 
been written - therefore have been trying to make as little wholesale changes 
as possible to that codebase.  So basically I want to create this but in maven 
- i.e. replace build.xml with pom.xml and create business/pom.xml web/pom.xml

We use ant-dependencies which chucks everything into my ~/.maven folder similar 
to maven2, so I don't feel I'm missing out a lot, but it would be nice to get 
maven right - either my thinking or the process, because I want to host my own 
maven repository for the libs in my F/OSS project at the end of the day :)   
which I can already do with apache-archiva so that I can write some 
maven/opencsta/ejb/tapestry/jquery tutorials


Chris-Ms-MacBook:tapuserlist chrismylonas$ tree
.
|-- build.xml
|-- business
|   `-- src
|   |-- java
|   |-- main
|   |   |-- conf
|   |   |-- persistence-descriptor
|   |   `-- resources
|   |   `-- META-INF
|   `-- sql
`-- web
|-- src
|   |-- java
|   |-- resources
|   `-- webapp
|   |-- META-INF
|   |-- WEB-INF
|   |-- assets
|   |-- css
|   `-- images
|   `-- icons
`-- templates





Re: repo?.maven.org/.../tapestry*/5.2.0 ?!?!

2010-08-18 Thread Andreas Andreou
I'm not sure why i had left the ibiblio reference in there - i'll remove it

On Wed, Aug 18, 2010 at 23:52, Chris Mylonas  wrote:
> I haven't done a mvn clean, but I've used the tapestry.apache.org archetype 
> catalog.
> Seems to have worked with option 3, 5.2.0 but you will see in my output that 
> the connection was refused to ibiblio.
>
>
> As for the release schedule, HLS and the tapestry community are aiming for a 
> release by the time Java One comes around - in September from memory.
>
> Whilst we're on the subject of maven, I haven't been able to get any ejb or 
> javaee related archetypes to start a project - so I've reverted back to ant 
> and managing the dependencies by hand.  Can anyone shed any light on this 
> ejb/javaee maven problem?
>
>
> Chris-Ms-MacBook:Downloads chrismylonas$ mvn archetype:generate 
> -DarchetypeCatalog=http://tapestry.apache.org
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'archetype'.
> [INFO] 
> 
> [INFO] Building Maven Default Project
> [INFO]    task-segment: [archetype:generate] (aggregator-style)
> [INFO] 
> 
> [INFO] Preparing archetype:generate
> [INFO] No goals needed for project - skipping
> [INFO] [archetype:generate {execution: default-cli}]
> [INFO] Generating project in Interactive mode
> [INFO] No archetype defined. Using maven-archetype-quickstart 
> (org.apache.maven.archetypes:maven-archetype-quickstart:1.0)
> Choose archetype:
> 1: http://tapestry.apache.org -> quickstart (Tapestry 5.2.1-SNAPSHOT 
> Quickstart Project)
> 2: http://tapestry.apache.org -> tapestry-archetype (Tapestry 4.1.6 Archetype)
> Choose a number: : 1
> Choose version:
> 1: 5.0.19
> 2: 5.1.0.5
> 3: 5.2.0
> 4: 5.2.1-SNAPSHOT
> Choose a number: : 3
> Downloading: 
> https://www.ibiblio.org/maven2//org/apache/tapestry/quickstart/5.2.0/quickstart-5.2.0.jar
> [WARNING] Unable to get resource 'org.apache.tapestry:quickstart:jar:5.2.0' 
> from repository quickstart-repo (https://www.ibiblio.org/maven2/): Connection 
> refused
> Downloading: 
> http://repo1.maven.org/maven2/org/apache/tapestry/quickstart/5.2.0/quickstart-5.2.0.jar
>
> Define value for property 'groupId': : tesing
> Define value for property 'artifactId': : blah
> Define value for property 'version': 1.0-SNAPSHOT:
> Define value for property 'package': tesing:
> Confirm properties configuration:
> groupId: tesing
> artifactId: blah
> version: 1.0-SNAPSHOT
> package: tesing
> Y: Y
> [INFO] 
> 
> [INFO] BUILD SUCCESSFUL
> [INFO] 
> 
> [INFO] Total time: 44 seconds
> [INFO] Finished at: Thu Aug 19 06:44:26 EST 2010
> [INFO] Final Memory: 18M/81M
> [INFO] 
> 
>
>
>
>
> On 19/08/2010, at 6:16 AM, Michal Gruca wrote:
>
>>
>> Hi all,
>> I got bit other problem, as there is some problem with maven repo. I can't
>> create tapestry project using 5.2 archetypes. I tried both 5.2.0 and
>> snapshot. Could anyone check is everything ok with them?
>>
>> Regards
>> Michał Gruca
>> --
>> View this message in context: 
>> http://tapestry-users.832.n2.nabble.com/repo-maven-org-tapestry-5-2-0-tp5437148p5437706.html
>> Sent from the Tapestry Users mailing list archive at Nabble.com.
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>
>
>



-- 
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



Re: repo?.maven.org/.../tapestry*/5.2.0 ?!?!

2010-08-18 Thread Thiago H. de Paula Figueiredo
On Wed, 18 Aug 2010 17:52:19 -0300, Chris Mylonas   
wrote:


Whilst we're on the subject of maven, I haven't been able to get any ejb  
or javaee related archetypes to start a project - so I've reverted back  
to ant and managing the dependencies by hand.  Can anyone shed any light  
on this ejb/javaee maven problem?


Wouldn't it be easier to use a Tapestry archetype, for example, and then  
add the dependencies to the project's pom.xml?


--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,  
and instructor

Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

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



Re: repo?.maven.org/.../tapestry*/5.2.0 ?!?!

2010-08-18 Thread Chris Mylonas
I haven't done a mvn clean, but I've used the tapestry.apache.org archetype 
catalog.
Seems to have worked with option 3, 5.2.0 but you will see in my output that 
the connection was refused to ibiblio.


As for the release schedule, HLS and the tapestry community are aiming for a 
release by the time Java One comes around - in September from memory.

Whilst we're on the subject of maven, I haven't been able to get any ejb or 
javaee related archetypes to start a project - so I've reverted back to ant and 
managing the dependencies by hand.  Can anyone shed any light on this 
ejb/javaee maven problem?


Chris-Ms-MacBook:Downloads chrismylonas$ mvn archetype:generate 
-DarchetypeCatalog=http://tapestry.apache.org
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
[INFO] 
[INFO] Building Maven Default Project
[INFO]task-segment: [archetype:generate] (aggregator-style)
[INFO] 
[INFO] Preparing archetype:generate
[INFO] No goals needed for project - skipping
[INFO] [archetype:generate {execution: default-cli}]
[INFO] Generating project in Interactive mode
[INFO] No archetype defined. Using maven-archetype-quickstart 
(org.apache.maven.archetypes:maven-archetype-quickstart:1.0)
Choose archetype:
1: http://tapestry.apache.org -> quickstart (Tapestry 5.2.1-SNAPSHOT Quickstart 
Project)
2: http://tapestry.apache.org -> tapestry-archetype (Tapestry 4.1.6 Archetype)
Choose a number: : 1
Choose version: 
1: 5.0.19
2: 5.1.0.5
3: 5.2.0
4: 5.2.1-SNAPSHOT
Choose a number: : 3
Downloading: 
https://www.ibiblio.org/maven2//org/apache/tapestry/quickstart/5.2.0/quickstart-5.2.0.jar
[WARNING] Unable to get resource 'org.apache.tapestry:quickstart:jar:5.2.0' 
from repository quickstart-repo (https://www.ibiblio.org/maven2/): Connection 
refused
Downloading: 
http://repo1.maven.org/maven2/org/apache/tapestry/quickstart/5.2.0/quickstart-5.2.0.jar
   
Define value for property 'groupId': : tesing
Define value for property 'artifactId': : blah
Define value for property 'version': 1.0-SNAPSHOT: 
Define value for property 'package': tesing: 
Confirm properties configuration:
groupId: tesing
artifactId: blah
version: 1.0-SNAPSHOT
package: tesing
Y: Y
[INFO] 
[INFO] BUILD SUCCESSFUL
[INFO] 
[INFO] Total time: 44 seconds
[INFO] Finished at: Thu Aug 19 06:44:26 EST 2010
[INFO] Final Memory: 18M/81M
[INFO] 




On 19/08/2010, at 6:16 AM, Michal Gruca wrote:

> 
> Hi all,
> I got bit other problem, as there is some problem with maven repo. I can't
> create tapestry project using 5.2 archetypes. I tried both 5.2.0 and
> snapshot. Could anyone check is everything ok with them?
> 
> Regards
> Michał Gruca
> -- 
> View this message in context: 
> http://tapestry-users.832.n2.nabble.com/repo-maven-org-tapestry-5-2-0-tp5437148p5437706.html
> Sent from the Tapestry Users mailing list archive at Nabble.com.
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
> 



Re: repo?.maven.org/.../tapestry*/5.2.0 ?!?!

2010-08-18 Thread Michal Gruca

Hi all,
I got bit other problem, as there is some problem with maven repo. I can't
create tapestry project using 5.2 archetypes. I tried both 5.2.0 and
snapshot. Could anyone check is everything ok with them?

Regards
Michał Gruca
-- 
View this message in context: 
http://tapestry-users.832.n2.nabble.com/repo-maven-org-tapestry-5-2-0-tp5437148p5437706.html
Sent from the Tapestry Users mailing list archive at Nabble.com.

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