Re: [osgi-dev] enRoute Project archetype not working correctly?

2019-02-05 Thread Thomas Driessen via osgi-dev

Hi Tim,

you're probably right. When using the archetype command of the 
quickstart tutorial on a linux machine, then everything works as 
expected.


The error only occurs when I create the project via Eclipse, i.e., New 
-> Maven Project -> enroute project archetype.


Kind regards,
Thomas

-- Originalnachricht --
Von: "Tim Ward" 
An: "Thomas Driessen" ; "OSGi Developer 
Mail List" 

Gesendet: 05.02.2019 17:19:15
Betreff: Re: [osgi-dev] enRoute Project archetype not working correctly?


Hi Thomas,

What was the command that you used to generate the folders? The Maven 
Archetype Plugin is useful, but the default version used by Maven is 
pretty old. The OSGi enRoute recommendation is that you use version 
3.0.1 of the archetype plugin, as described in 
https://enroute.osgi.org/tutorial/020-tutorial_qs.html#project-setup


It’s possible that if you used an old version of the archetype plugin 
that it failed to correctly rename the folder based on the template 
variable value.


Best Regards,

Tim

On 4 Feb 2019, at 12:13, Thomas Driessen via osgi-dev 
 wrote:


Hi,

I just used the enRoute project archetype and this one does generate 
two subfolders named __app-artifactId__ and __impl-artifactId__.
When I now import this project from git in another Eclipse Instance, 
Eclipse complains about missing child modules example.app/example.impl 
 which are the artifactIds I used for app and impl during project 
creation.


Shouldn't the folders be named according to the artifactIds instead of 
__app-artifactId__ and __impl-artifactId__ ?


Kind regards,
Thomas
___
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev
___
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev

Re: [osgi-dev] enRoute Project archetype not working correctly?

2019-02-05 Thread Tim Ward via osgi-dev
Hi Thomas,

What was the command that you used to generate the folders? The Maven Archetype 
Plugin is useful, but the default version used by Maven is pretty old. The OSGi 
enRoute recommendation is that you use version 3.0.1 of the archetype plugin, 
as described in 
https://enroute.osgi.org/tutorial/020-tutorial_qs.html#project-setup 


It’s possible that if you used an old version of the archetype plugin that it 
failed to correctly rename the folder based on the template variable value.

Best Regards,

Tim

> On 4 Feb 2019, at 12:13, Thomas Driessen via osgi-dev 
>  wrote:
> 
> Hi,
> 
> I just used the enRoute project archetype and this one does generate two 
> subfolders named __app-artifactId__ and __impl-artifactId__.
> When I now import this project from git in another Eclipse Instance, Eclipse 
> complains about missing child modules example.app/example.impl  which are the 
> artifactIds I used for app and impl during project creation.
> 
> Shouldn't the folders be named according to the artifactIds instead of 
> __app-artifactId__ and __impl-artifactId__ ?
> 
> Kind regards,
> Thomas
> ___
> OSGi Developer Mail List
> osgi-dev@mail.osgi.org 
> https://mail.osgi.org/mailman/listinfo/osgi-dev 
> 
___
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev

[osgi-dev] enRoute Project archetype not working correctly?

2019-02-04 Thread Thomas Driessen via osgi-dev

Hi,

I just used the enRoute project archetype and this one does generate two 
subfolders named __app-artifactId__ and __impl-artifactId__.
When I now import this project from git in another Eclipse Instance, 
Eclipse complains about missing child modules example.app/example.impl  
which are the artifactIds I used for app and impl during project 
creation.


Shouldn't the folders be named according to the artifactIds instead of 
__app-artifactId__ and __impl-artifactId__ ?


Kind regards,
Thomas___
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev