[ 
https://issues.apache.org/jira/browse/NETBEANS-4426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17135211#comment-17135211
 ] 

Andy Gegg commented on NETBEANS-4426:
-------------------------------------

Re Maven.  Thank you for your offer but...

I was putting off GitHub until I've nothing else to do - I'm on my own so I 
really don't need a VCS and git is hard enough when you _need_ to use it.  The 
source is available on my own website - 
https://[https://www.gardennotebook.co.uk/download281/source/Source_2_8_1.zip|https://www.gardennotebook.co.uk/download.html]

It's 8 modules and about 400 class files of singularly unimpressive Java so I'm 
sure you're far too busy to start wading about in there!

In essence, I wanted to disconnect the data provision from the business logic 
so there's an 'internal' service provider which serves up one or other data 
sources and is found by the usual ServiceLoader mechanism.  At present it only 
serves up one type of provider, an RDBMS handler.  This in turn uses 
ServiceLoader to find any JDBC connectors on the class path (MySQL, SQLServer, 
etc).  I cannot assume any of these is present.

When I tried Maven I could get everything to compile and execute but it would 
not find the internal service provider.  I Googled hard and found numerous not 
quite solutions and abandoned prototypes - none of which worked (and, yes, I 
know about the 'required at run, not compile' thing).  If I explicitly required 
the service provider in another module (which rather defeats the object of the 
exercise) it found it, of course.  But it would NOT find the JDBC connector 
provided services on the class path.

So I gave up.

> Fails with 'silent error'
> -------------------------
>
>                 Key: NETBEANS-4426
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-4426
>             Project: NetBeans
>          Issue Type: Bug
>         Environment: Windows 10 Home, 1909
>            Reporter: Andy Gegg
>            Priority: Major
>         Attachments: idiotapp.zip, idiotapp_2.zip, messages.log, 
> messages_build.log, messages_idiot_2.log, messages_run.log
>
>
> I have just downloaded NetBeans 12.  When I try to run my application it just 
> fails.  It runs ok on netbeans 11 as long as it has nb-javac and source 
> version at 13.  I'm starting to give up hope.
> I've tried to attach the log file but it whines about a 'missing tag' - don't 
> know if it's there or not.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to