Bug#877626: netbeans: Does not recognize Maven projects

2017-10-04 Thread Mark Carroll

On 10/03/2017 04:19 PM, Markus Koschany wrote:


We have never shipped Netbeans in Jessie because it was not usable at
all back then. I presume that was another version, probably downloaded
from upstream directly.


Interesting, I wonder if my pre-stretch one was netbeans 7 left over
from wheezy or something then; I do have the lingering impression that
it upgraded itself at some point as I don't recall it mysteriously
vanishing altogether and I don't seem to have a different local version
lying around. Though then there'd be the question of how I used maven in it.


It is true that we never supported Maven out-of-the-box because it is
not part of the Base IDE.

(snip)

I should mention that extra confusion came from upstream's and others'
documentation: nothing I read anywhere about how to open Maven projects
suggested that Netbeans shouldn't be able to handle Maven already out of
the box and when I searched in its addon/plugin installer thing "maven"
produced no search results.

Now knowing that Netbeans' Maven support is not part of the base makes
things rather clearer. At most then this "bug" might simply be a
wishlist for having support for common modern build systems like maven
and gradle packaged. Though, while I've tried a mix of Debian-packaged
Eclipse with plugins from upstream and run into enough version
incompatibility horror to never want to attempt that again, the
situation might be better with using upstream's plugins with Debianized
Netbeans.

Thank you very much for explaining everything.

Cheers,

Mark

The University of Dundee is a registered Scottish Charity, No: SC015096

__
This is the maintainer address of Debian's Java team
. 
Please use
debian-j...@lists.debian.org for discussions and questions.


Processed: Re: Bug#877626: netbeans: Does not recognize Maven projects

2017-10-03 Thread Debian Bug Tracking System
Processing control commands:

> severity -1 wishlist
Bug #877626 [netbeans] netbeans: Does not recognize Maven projects
Severity set to 'wishlist' from 'normal'
> retitle -1 netbeans: Support Maven projects out-of-the-box
Bug #877626 [netbeans] netbeans: Does not recognize Maven projects
Changed Bug title to 'netbeans: Support Maven projects out-of-the-box' from 
'netbeans: Does not recognize Maven projects'.

-- 
877626: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=877626
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems

__
This is the maintainer address of Debian's Java team
. 
Please use
debian-j...@lists.debian.org for discussions and questions.


Bug#877626: netbeans: Does not recognize Maven projects

2017-10-03 Thread Markus Koschany
Control: severity -1 wishlist
Control: retitle -1 netbeans: Support Maven projects out-of-the-box

Hello Mark,

Am 03.10.2017 um 16:57 schrieb Mark Carroll:
> Package: netbeans
> Severity: normal
> 
> Dear Maintainer,
> 
> With jessie's netbeans I used to be able to use "open project" and see the "m"
> marking by some folders and netbeans handled them just fine as maven projects.
> With the current stretch 8.1 netbeans I cannot find any sign at all of
> maven-awareness. I also tried experimental's 8.2 today with the same result.
> It didn't help to wipe out everything in /.netbeans/8.?/ and there were no
> obvious clues in netbeans' var/log/messages.log. Uninstalling Debian's
> packaging of netbeans and instead using upstream's 8.2 installer has fixed the
> problem for me: now when I open projects it is back to clearly recognizing
> them as maven projects.
> 
> Cheers,
> 
> Mark

We have never shipped Netbeans in Jessie because it was not usable at
all back then. I presume that was another version, probably downloaded
from upstream directly.

It is true that we never supported Maven out-of-the-box because it is
not part of the Base IDE. I would like to see this changed but I wasn't
successful in building the Maven module from source. The Debian version
of Netbean's is fully integrated into your system and only uses system
libraries. This would require that Netbeans also depends on our Maven
package. This is non-trivial to achieve.

My current workaround is to install the Maven plugin from upstream which
is basically a bundled version of Maven. That's not a perfect solution
but you can still use Netbeans from Debian and then add missing
functionality via plugins as needed. Please note that we have no control
over those plugins though and can't support them.

Regards,

Markus



signature.asc
Description: OpenPGP digital signature
__
This is the maintainer address of Debian's Java team
. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Bug#877626: netbeans: Does not recognize Maven projects

2017-10-03 Thread Mark Carroll
Package: netbeans
Severity: normal

Dear Maintainer,

With jessie's netbeans I used to be able to use "open project" and see the "m"
marking by some folders and netbeans handled them just fine as maven projects.
With the current stretch 8.1 netbeans I cannot find any sign at all of
maven-awareness. I also tried experimental's 8.2 today with the same result.
It didn't help to wipe out everything in /.netbeans/8.?/ and there were no
obvious clues in netbeans' var/log/messages.log. Uninstalling Debian's
packaging of netbeans and instead using upstream's 8.2 installer has fixed the
problem for me: now when I open projects it is back to clearly recognizing
them as maven projects.

Cheers,

Mark

-- System Information:
Debian Release: 9.1
  APT prefers stable
  APT policy: (600, 'stable'), (500, 'stable-updates')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), 
LANGUAGE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages netbeans depends on:
pn  libnb-apisupport3-java
pn  libnb-ide14-java  
pn  libnb-java5-java  
pn  libnb-platform18-java 
ii  openjdk-8-jdk [java8-sdk] 8u141-b15-1~deb9u1
ii  oracle-java8-jdk [java8-sdk]  8u131

netbeans recommends no packages.

netbeans suggests no packages.

__
This is the maintainer address of Debian's Java team
. 
Please use
debian-j...@lists.debian.org for discussions and questions.