Hi Dan,

Yes, when I run  mvn archetype:generate   it says  Archetype 
[org.apache.isis:quickstart-archetype:0.1.2-incubating and it created a 
viewer-html/ dir  not webapp/

When I added -DarchetypeVersion=0.2.0-incubating
It gave Archetype repository missing. Using the one from 
[org.apache.isis:quickstart-archetype:0.1.2-incubating] found in catalog remote
So I guess I need to update something?

In my ~/.m2 I have a  archetype-catalog.xml  containing:  
  <artifactId>quickstart-archetype</artifactId>
  <version>0.1.2-RC3-incubating</version>

In ~/.m2/repository/org/apache/isis/quickstart-archetype  I have dirs:
  0.1.2-RC3-incubating
  0.1.2-incubating

No hurry I'm calling it a day, will have another look tomorrow afternoon.

Best Regards

Mike Burton





On 13 Mar 2012, at 22:33, Dan Haywood wrote:

> Hi Mike,
> 
> can I check which version of the archetype you are running?  The reason I
> ask is that I just ran the command that's documented on the website, and
> found - bizarrely - that Maven used the old 0.1.2-incubating version of the
> archetype, not the 0.2.0-incubating one.
> 
> When I explicitly specified the latest version, using
> -DarchetypeVersion=0.2.0-incubating, then I got the latest.
> 
> The other reason I think you might have the wrong archetype is that the
> launch file got renamed; it's now "quickstart-webapp.launch", with a single
> webapp module.
> 
> I just tried this launch module in a brand new Eclipse workspace, and it
> seems to run ok.
> 
> Let me know,
> 
> Dan
> 
> 
> On 13 March 2012 22:07, Mike Burton <[email protected]> wrote:
> 
>> Hi Folks,
>> 
>> A couple of startup questions if I may-
>> 
>> When I launch the quickstart-html .launch  from eclipse, what URI do I
>> then need to browse?
>> I tried browsing to just localhost:8080 but it gave  403 Forbidden
>> localhost:8080 worked fine when I did:   cd viewer-html  ;  mvn jetty:run
>> 
>> From the quick-start.html page I'm having problems with:   java -jar
>> webapp/target/myapp-webapp-1.0.0-SNAPSHOT-jetty-console.war
>> I've corrected the command to: java -jar
>> viewer-html/target/myapp-viewer-html-1.0-SNAPSHOT.war (and changed 'myapp'
>> to my app's name) - I'll update the site too at some stage.
>> Even so, I get:  failed to load 'isis.properties'
>> The "equivalent" command:    cd viewer-html  ;  mvn jetty:run
>> works fine, gets its props from
>> <myapp>/viewer-html/src/main/webapp/WEB-INF/isis.properties
>> I'm guessing I need to add some args but which? Like in order to run the
>> quickrun jar I needed to add:   --type exploration --viewer dnd
>> 
>> 
>> Best Regards
>> 
>> Mike Burton

Reply via email to