Re: [wtp-dev] Initial development setup - p3

2016-09-22 Thread Daniel Kasmeroglu

Thanks for the hint. The inclusion of the SDK did the job.


Am 22.09.2016 um 09:25 schrieb Piotr Tomiak:

Daniel,

W dniu 22.09.2016 o 00:25, Daniel Kasmeroglu pisze:


1. The XML type 'enablement' is missing for the following XSDs:

* 
webtools.javaee/plugins/org.eclipse.jst.j2ee/schema/ClasspathDependencyExtension.exsd 



* 
webtools.javaee/plugins/org.eclipse.jst.j2ee/schema/archiveExportParticipants.exsd


This element is included in 'expressionLanguage.exsd' which is part 
of org.eclipse.core.expressions. However this plugin is declared as a 
dependency within the project org.eclipse.jst.j2ee, so I'm wondering 
whether any one has idea why Neon RCP is complaining here?


I think you need to ensure that in your target platform "Eclipse SDK" 
feature is present. Usually, when we have this problem, the SDK 
feature is missing.


Best regards,
Piotr Tomiak
___
wtp-dev mailing list
wtp-dev@eclipse.org
To change your delivery options, retrieve your password, or 
unsubscribe from this list, visit

https://dev.eclipse.org/mailman/listinfo/wtp-dev


___
wtp-dev mailing list
wtp-dev@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/wtp-dev


Re: [wtp-dev] Initial development setup - p3

2016-09-22 Thread Piotr Tomiak

Daniel,

W dniu 22.09.2016 o 00:25, Daniel Kasmeroglu pisze:


1. The XML type 'enablement' is missing for the following XSDs:

* 
webtools.javaee/plugins/org.eclipse.jst.j2ee/schema/ClasspathDependencyExtension.exsd 



* 
webtools.javaee/plugins/org.eclipse.jst.j2ee/schema/archiveExportParticipants.exsd


This element is included in 'expressionLanguage.exsd' which is part of 
org.eclipse.core.expressions. However this plugin is declared as a 
dependency within the project org.eclipse.jst.j2ee, so I'm wondering 
whether any one has idea why Neon RCP is complaining here?


I think you need to ensure that in your target platform "Eclipse SDK" 
feature is present. Usually, when we have this problem, the SDK feature 
is missing.


Best regards,
Piotr Tomiak
___
wtp-dev mailing list
wtp-dev@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/wtp-dev


Re: [wtp-dev] Initial development setup - p3

2016-09-21 Thread Mickael Istria

On 09/22/2016 12:25 AM, Daniel Kasmeroglu wrote:

2. Compiler Errors/Warnings

After the import of the projects there were plenty of errors. For 
instance: The plugin 'org.eclipse.jst.common.frameworks' has several 
unused imports which are currently configured as compiler errors (f.e. 
IJavaProjectLite). Why aren't these imports removed? I mean all those 
things that Eclipse detects automatically could be fixed very easily.
Is there any rationale behind this? And if not are there any 
objections when I would make the changes accordingly (of course only 
these automatically detected issues).

I imagine that this can be legacy code that no-one took time to clean up.
3. Are there any plans to switch to a completely maven based build, so 
we could drop these eclipse configuration files?

Which Eclipse configuration files? There are many of them!
What would be the value of dropping the Eclipse configuration files?
The build is already fully maven-based, it's using Tycho. If you want to 
be more Maven-centric, it's doable, but make sure you have the 
m2eclipse-tycho connector installed.
4.  Are there any plans to make an upgrade to Java 8? Where are 
potential obstacles if there are known ones?

As far as I know, no plan, no obstacle.
The only reason would be that this task doesn't get high priority and 
that the amount of contributors to WTP is a too low to consider doing 
"gardening" on the code. But feel free to contribute PRs for that, I 
believe they'd be welcome.


Cheers,
--
Mickael Istria
Eclipse developer for Red Hat Developers 
My blog  - My Tweets 

___
wtp-dev mailing list
wtp-dev@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/wtp-dev

[wtp-dev] Initial development setup - p3

2016-09-21 Thread Daniel Kasmeroglu

It's me again ;-)

I'm using the 'master' branch now and imported the projects using the 
Eclipse way (didn't even occure to me 8-).


Still got the following questions:


1. The XML type 'enablement' is missing for the following XSDs:

* 
webtools.javaee/plugins/org.eclipse.jst.j2ee/schema/ClasspathDependencyExtension.exsd 



* 
webtools.javaee/plugins/org.eclipse.jst.j2ee/schema/archiveExportParticipants.exsd


This element is included in 'expressionLanguage.exsd' which is part of 
org.eclipse.core.expressions. However this plugin is declared as a 
dependency within the project org.eclipse.jst.j2ee, so I'm wondering 
whether any one has idea why Neon RCP is complaining here?



2. Compiler Errors/Warnings

After the import of the projects there were plenty of errors. For 
instance: The plugin 'org.eclipse.jst.common.frameworks' has several 
unused imports which are currently configured as compiler errors (f.e. 
IJavaProjectLite). Why aren't these imports removed? I mean all those 
things that Eclipse detects automatically could be fixed very easily.


Is there any rationale behind this? And if not are there any objections 
when I would make the changes accordingly (of course only these 
automatically detected issues).



3. Are there any plans to switch to a completely maven based build, so 
we could drop these eclipse configuration files?



4.  Are there any plans to make an upgrade to Java 8? Where are 
potential obstacles if there are known ones?



Best regards

Daniel Kasmeroglu



2.

___
wtp-dev mailing list
wtp-dev@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/wtp-dev


Re: [wtp-dev] Initial development setup - p2

2016-09-20 Thread Mickael Istria

On 09/20/2016 11:14 PM, Daniel Kasmeroglu wrote:
First of all: thanks for the feedback. I promise that I will document 
my steps for an initial setup but I can't do that within the Eclipse 
Wiki as it's simply awful.

Well, it's not more awful than Wikipedia ;)
More seriously, if you have some documentation, it's really the best 
place to put it as it's where the "official" documentation is supposed 
to be and where it's supposed to be maintained. Despite every issue you 
can have with the wiki engine, it's really what matters.
What's confusing to me is the fact that the pom refers to 
3.6.0-SNAPSHOT even though I'm using the tag R3_7_0 for my branch.
It's https://bugs.eclipse.org/bugs/show_bug.cgi?id=500016 . WTP isn't 
really a state-of-art project when it comes to versioning parent pom at 
the moment.
Why is that and where can I get access to the wtp-parent? I couldn't 
find a project named 'wtp-parent' within the Gerrit listing.
It's in the webtools.releng.aggregator repository: 
http://git.eclipse.org/c/webtools/webtools.releng.aggregator.git/tree/wtp-parent/pom.xml


2. The plugins are obviously maven based so I'm wondering why the 
eclipse project files such as .project/.classpath etc are versioned? 
Importing them into my workspace causes a lot of them to be changed 
which is kind of problematic.
The build is Maven based, and you could you Maven (with the Tycho 
connector) in your IDE, but the usual way of developing them is to 
ignore the pom.xml in IDE and import them as existing Eclipse projects 
(not Maven based).


3. Using 4.6-jee as the target platform and after importing all 
webtools.javaee plugins I still got some errors. For instance: The 
R3_7_0 version of org.eclipse.wst.web.ui refers to 
org.eclipse.wst.jsdt.ui [1.0.0, 2.0.0) which isn't present. Are there 
any scripts/magic that need to be executed to make this project ad-hoc 
compilable?

No script should be required.
The R3_7_0 is the previous version, which was shipped with Eclipse 4.5 
(Mars). Either you want to work with this R3_7_0 and you should use a 
4.5 JEE target-platform, or you work with R3_8_0 (or R3_8_maintenance 
branch - or even master) and the 4.6 JEE target-platform is good.


HTH
--
Mickael Istria
Eclipse developer for Red Hat Developers 
My blog  - My Tweets 

___
wtp-dev mailing list
wtp-dev@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/wtp-dev

[wtp-dev] Initial development setup - p2

2016-09-20 Thread Daniel Kasmeroglu
First of all: thanks for the feedback. I promise that I will document my 
steps for an initial setup but I can't do that within the Eclipse Wiki 
as it's simply awful.


I'm still having a lot of questions, though (btw. I'm using R3_7_0 as I 
know it had been released and therefore should work but of course I'm 
cross checking with the master branch):


---

1. As Mickael suggested I executed the following command line:

$> mvn clean verify -U -Pbuild-individual-bundles

This still gives me the same error regarding the missing repository: 
http://download.eclipse.org/eclipse/updates/4.5milestones/S-4.5M5a-201502031300.


What's confusing to me is the fact that the pom refers to 3.6.0-SNAPSHOT 
even though I'm using the tag R3_7_0 for my branch.


Why is that and where can I get access to the wtp-parent? I couldn't 
find a project named 'wtp-parent' within the Gerrit listing.


---

2. The plugins are obviously maven based so I'm wondering why the 
eclipse project files such as .project/.classpath etc are versioned? 
Importing them into my workspace causes a lot of them to be changed 
which is kind of problematic.


What's the reason to checkin Eclipse project resources?

---

3. Using 4.6-jee as the target platform and after importing all 
webtools.javaee plugins I still got some errors. For instance: The 
R3_7_0 version of org.eclipse.wst.web.ui refers to 
org.eclipse.wst.jsdt.ui [1.0.0, 2.0.0) which isn't present. Are there 
any scripts/magic that need to be executed to make this project ad-hoc 
compilable?



Best regards

Daniel Kasmeroglu

___
wtp-dev mailing list
wtp-dev@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/wtp-dev


Re: [wtp-dev] Initial development setup

2016-09-20 Thread Patrik Suzzi
On Tue, Sep 20, 2016 at 8:32 AM, Mickael Istria  wrote:

> On 09/20/2016 12:23 AM, Daniel Kasmeroglu wrote:
>
> Hi there,
>
> I intend to work on some issues that I need to get fixed. Unfortunately
> I'm a bit confused about the WTP project overall.
> (...)
> First of all I wasn't able to figure out the actual starting point within
> the web (I mean a landing page providing links for all necessary infos). I
> consider https://projects.eclipse.org/projects/webtools to be the most
> recent and valid location but it wasn't really helpful for me.
>
> What I'm hoping for:
> * Is there some sort of documentation available which exercises
> point-by-point each step to setup an environment?
>
> AFAIK, the main documentation page is https://wiki.eclipse.org/Web_
> Tools_Projec , however, I cannot find a welcoming page for new
> contributors...
> What would be great would be that you start one, and ask here whenever
> there's something blocking you.
>

I totally agree with Mickael. You could start contributing the
documentation on how to setup the environment.
1. You can start adding a section here:
https://wiki.eclipse.org/WTP/Build/WTP_Developer_Installation_Quick_Guide
2. If you need help, please ask in
https://mattermost.eclipse.org/eclipse/channels/webtools or Eclipse IRC:
#eclipse or #eclipse-dev

Here's the instructions, in a nutshell:
- You need an IDE and a TP (Target Platform). As IDE you can use Eclipse
for RCP Developers and as target Platform you can use Eclipse JEE.
- Here is a video explaining how to setup such an Ide for the JSDT
(JavaSscript DevTools), a subproject of WTP:
https://www.youtube.com/watch?v=SFxfuudlau8 - follow this video until
minute 5.26. Then, instead of importing JSDT projects (like in the video),
you should import the WTP projects you want to work on.
- Here you find the list of all the WebTools repos:
https://projects.eclipse.org/projects/webtools/developer (to work with
gerrit, you should clone using the Gerrit URI [link
])

Suggestion:
- don't import all the WTP projects


*Kind Regards,*


*Patrik SuzziSoftware **Engineer, Eclipse*
*Platform UI Committer*
*https://about.me/psuzzi *
___
wtp-dev mailing list
wtp-dev@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/wtp-dev

Re: [wtp-dev] Initial development setup

2016-09-19 Thread Mickael Istria

On 09/20/2016 12:23 AM, Daniel Kasmeroglu wrote:

Hi there,

I intend to work on some issues that I need to get fixed. 
Unfortunately I'm a bit confused about the WTP project overall.


First of all I wasn't able to figure out the actual starting point 
within the web (I mean a landing page providing links for all 
necessary infos). I consider 
https://projects.eclipse.org/projects/webtools to be the most recent 
and valid location but it wasn't really helpful for me.


What I did so far:

* I've checked out the GIT repo 
https://git.eclipse.org/r/jeetools/webtools.javaee
* I attempted to build it using Maven but it showed me the following 
error message:

---<8---
Caused by: org.eclipse.equinox.p2.core.ProvisionException: No 
repository found at 
http://download.eclipse.org/eclipse/updates/4.5milestones/S-4.5M5a-201502031300.
at 
org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.fail(AbstractRepositoryManager.java:395)
at 
org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:692)

---8>---
* I couldn't find this platform neither through a browser nor through 
the Eclipse updating mechanism.
This URL has disappeared a while ago. However, the wtp-parent pom was 
updated since then to use another URL for platform.
Please make sure you're using the latest version of parent pom by adding 
the "-U" flag to the Maven command.
So a full command to build the webtools.javaee component would be `mvn 
clean verify -U -Pbuild-individual-bundles`.



What I'm hoping for:
* Is there some sort of documentation available which exercises 
point-by-point each step to setup an environment? 
AFAIK, the main documentation page is 
https://wiki.eclipse.org/Web_Tools_Projec , however, I cannot find a 
welcoming page for new contributors...
What would be great would be that you start one, and ask here whenever 
there's something blocking you.


--
Mickael Istria
Eclipse developer for Red Hat Developers 
My blog  - My Tweets 

___
wtp-dev mailing list
wtp-dev@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/wtp-dev

[wtp-dev] Initial development setup

2016-09-19 Thread Daniel Kasmeroglu

Hi there,

I intend to work on some issues that I need to get fixed. Unfortunately 
I'm a bit confused about the WTP project overall.


First of all I wasn't able to figure out the actual starting point 
within the web (I mean a landing page providing links for all necessary 
infos). I consider https://projects.eclipse.org/projects/webtools to be 
the most recent and valid location but it wasn't really helpful for me.


What I did so far:

* I've checked out the GIT repo 
https://git.eclipse.org/r/jeetools/webtools.javaee
* I attempted to build it using Maven but it showed me the following 
error message:

---<8---
Caused by: org.eclipse.equinox.p2.core.ProvisionException: No repository 
found at 
http://download.eclipse.org/eclipse/updates/4.5milestones/S-4.5M5a-201502031300.
at 
org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.fail(AbstractRepositoryManager.java:395)
at 
org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:692)

---8>---
* I couldn't find this platform neither through a browser nor through 
the Eclipse updating mechanism.



What I'm hoping for:

* Is there some sort of documentation available which exercises 
point-by-point each step to setup an environment?



Best regards

Daniel Kasmeroglu
___
wtp-dev mailing list
wtp-dev@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/wtp-dev