You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by Iain Flynn <fl...@cs.man.ac.uk> on 2011/02/23 02:16:55 UTC
Creating a project with Isis?
Hello again,
Since last time I've been playing around with Eclipse (Helios) to try and get started on making a project using Isis.
I tried importing (with Maven) using the example applications, but when I try to run the viewers in the 'claims' app for example, I get an error message as follows:
"Launch configuration prototype_quickrun_dnd references non-existing project org.apache.isis.examples.apps.claims-quickrun."
This occurs with other viewers too.
I would be very grateful if someone could maybe give me some pointers on how to get a new project going.
- Iain
Re: Creating a project with Isis?
Posted by Vangjel Stavro <va...@gmail.com>.
Solved it,
The importing part was correct.
The problem was that I was trying to run from
support.quickstart.restful-viewer. I didn't know that the working launch
file had moved.
I tried to run from the examples.apps.claims and it works fine :)
Thanks Dan! ;)
Re: Creating a project with Isis?
Posted by Dan Haywood <dk...@gmail.com>.
Hi Vangjel
Am I right that you are trying to load the quickstart app and not seeing
anything? If so, that's because I reworked the quickstart app in order
that it can be used to reverse engineer the archetype.
What was previously called support/prototype, with the 4-class claims
application, has now moved to examples/apps/claims. This should work as
previously; import using Advanced>Name Template=[groupId]:[artifactId],
and the .launch files will tie up with names in the .project files.
The support/prototype itself is no more, and has been replaced by
support/quickstart.
The support/quickstart is a new, very simple 1-class domain (ToDoItem),
BUT, when importing it you should NOT use the Advanced>Name Template;
instead just import with the defaults. See [1] for a further explanation.
Let me know how you get on.
Cheers
Dan
[1]
https://cwiki.apache.org/confluence/display/ISIS/RecreatingMavenArchetypeFromProject
On 03/03/2011 18:14, Vangjel Stavro wrote:
> Hi
>
> I am having the same problem as Iain. This happened to me just after
> updating from the svn repository. I go to my run configurations and when I
> select the one I want to run the "classpath" tab has an error sign. I go
> there and there are no Bootstrap entries or User entries. So could you
> please tell me what to include in there so I can get the application to run?
>
> Thanks,
> Vango
>
Re: Creating a project with Isis?
Posted by Vangjel Stavro <va...@gmail.com>.
Hi
I am having the same problem as Iain. This happened to me just after
updating from the svn repository. I go to my run configurations and when I
select the one I want to run the "classpath" tab has an error sign. I go
there and there are no Bootstrap entries or User entries. So could you
please tell me what to include in there so I can get the application to run?
Thanks,
Vango
Re: Creating a project with Isis?
Posted by Iain Flynn <fl...@cs.man.ac.uk>.
Okay, cheers :)
- Iain
On 23 Feb 2011, at 23:12, Dan Haywood wrote:
> Hi Iain,
> I think the advice from whyzdev was correct (ie set name template to [groupId]:[artifactId]). But if that isn't working for you, for whatever reason, then you can always go into the Run>Run Configurations and manually fix them up. Do though select the "Filter" toolbar icon and make sure that you can view "Deleted/Unavailable projects". Alternatively, just open up the .launch file in the text editor and edit the XML directly.
>
> As for an Isis archetype, I'm currently working on a new Isis one and hope to have it up on the snapshot repo by the end of the week.
>
> Cheers
> Dan
Re: Creating a project with Isis?
Posted by Dan Haywood <dk...@gmail.com>.
Hi Iain,
I think the advice from whyzdev was correct (ie set name template to
[groupId]:[artifactId]). But if that isn't working for you, for
whatever reason, then you can always go into the Run>Run Configurations
and manually fix them up. Do though select the "Filter" toolbar icon
and make sure that you can view "Deleted/Unavailable projects".
Alternatively, just open up the .launch file in the text editor and edit
the XML directly.
As for an Isis archetype, I'm currently working on a new Isis one and
hope to have it up on the snapshot repo by the end of the week.
Cheers
Dan
On 23/02/2011 23:01, Iain Flynn wrote:
> Hmm, still getting the same error no matter what I import. I've got subclipse and m2eclipse installed as well.
>
> One curiosity is that I have to restart Eclipse when importing to stop build errors.
>
> The archetype works great, but it's the old naked objects version. I was hoping to try building some applications in Isis to get used to any differences before I start development proper.
>
> Thank you for your help,
>
> - Iain
>
> On 23 Feb 2011, at 03:19, whyzdev wrote:
>
>> Iain, When your are inside the import project dialog, remember to specify
>> the Advanced> Name Template = [groupId].[artifactId]. See smoke test wiki
>> https://cwiki.apache.org/ISIS/smoketest.html (where displays
>> groupId.artifactId but should be [groupId].[artifactId]).
>>
>> See and fast forward a demo on eclipse settings at:
>> http://www.youtube.com/watch?v=9km4eQCOemU
>> and other isis demos at:
>> http://www.youtube.com/results?search_query=apache_isis&aq=f
>>
>> Hope this helps.
>> -Yin
>>
>> On Tue, Feb 22, 2011 at 8:16 PM, Iain Flynn<fl...@cs.man.ac.uk> wrote:
>
Re: Creating a project with Isis?
Posted by Iain Flynn <fl...@cs.man.ac.uk>.
Hmm, still getting the same error no matter what I import. I've got subclipse and m2eclipse installed as well.
One curiosity is that I have to restart Eclipse when importing to stop build errors.
The archetype works great, but it's the old naked objects version. I was hoping to try building some applications in Isis to get used to any differences before I start development proper.
Thank you for your help,
- Iain
On 23 Feb 2011, at 03:19, whyzdev wrote:
> Iain, When your are inside the import project dialog, remember to specify
> the Advanced > Name Template = [groupId].[artifactId]. See smoke test wiki
> https://cwiki.apache.org/ISIS/smoketest.html (where displays
> groupId.artifactId but should be [groupId].[artifactId]).
>
> See and fast forward a demo on eclipse settings at:
> http://www.youtube.com/watch?v=9km4eQCOemU
> and other isis demos at:
> http://www.youtube.com/results?search_query=apache_isis&aq=f
>
> Hope this helps.
> -Yin
>
> On Tue, Feb 22, 2011 at 8:16 PM, Iain Flynn <fl...@cs.man.ac.uk> wrote:
Re: Creating a project with Isis?
Posted by whyzdev <wh...@gmail.com>.
Iain, When your are inside the import project dialog, remember to specify
the Advanced > Name Template = [groupId].[artifactId]. See smoke test wiki
https://cwiki.apache.org/ISIS/smoketest.html (where displays
groupId.artifactId but should be [groupId].[artifactId]).
See and fast forward a demo on eclipse settings at:
http://www.youtube.com/watch?v=9km4eQCOemU
and other isis demos at:
http://www.youtube.com/results?search_query=apache_isis&aq=f
Hope this helps.
-Yin
On Tue, Feb 22, 2011 at 8:16 PM, Iain Flynn <fl...@cs.man.ac.uk> wrote:
> Hello again,
>
> Since last time I've been playing around with Eclipse (Helios) to try and
> get started on making a project using Isis.
>
> I tried importing (with Maven) using the example applications, but when I
> try to run the viewers in the 'claims' app for example, I get an error
> message as follows:
>
> "Launch configuration prototype_quickrun_dnd references non-existing
> project org.apache.isis.examples.apps.claims-quickrun."
>
> This occurs with other viewers too.
>
> I would be very grateful if someone could maybe give me some pointers on
> how to get a new project going.
>
> - Iain