buf.append("--Failed to obtain object source code from JDBC driver");
From: Alex Malmyguine
Sent: Friday, November 13, 2015 3:50 PM To: Alex Malmyguine; Neville Rowe Cc:[hidden email] Subject: RE: [Squirrel-sql-users] Scripting MS SQL 2012 stored procedure
But now I have another question!
Even though the MSSql plugin sources were included into the project, the plugin does not seem to be built.
When Squirrel starts, the plugin list pointing at \SquirrelSQL\plugins where \SquirrelSQL is the main project folder, is empty.
I created the folder \SquirrelSQL\plugins, but how can I configure the project to output the plugin JAR in there?
From: Alex Malmyguine Sent: Friday, November 13, 2015 1:49 PM To: Neville Rowe Cc:[hidden email] Subject: Re: [Squirrel-sql-users] Scripting MS SQL 2012 stored procedure
After comparing yours and mine it became apparent that your project included the individual JARs, whereas mine included the /lib/ folder (as instructed by the
document linked earlier).
So it sounds like Netbeans 8 pretends it supports adding a folder as a library by pressing “Add JAR/folder” button, but in fact ignores so imported JARs.
I started adding the jars one by one instead and it worked! Ended up adding all JARs from the /lib/ folder and all errors became resolved.
From: Neville Rowe [[hidden email]]
Sent: Thursday, November 05, 2015 6:48 AM To: Alex Malmyguine Cc:[hidden email] Subject: RE: [Squirrel-sql-users] Scripting MS SQL 2012 stored procedure
I also use netbeans for Squirrel and it works for me so I guess there is a difference in our setups. I'm on latest Netbeans and Squirrel.
I find the trick is to setup Netbeans to know about sql12/core/src and then just the one plugin I happen to be working on at the time.
I've enclosed my build.xml and my nbproject/project.xml - note my git checkout is to p:\NetBeansProjects\SquirrelSQL\git and my project root is p:\NetBeansProjects\SquirrelSQL.
It could be that for a free-form project in NetBeans, the classpath within NetBeans doesn't pick up from the build.xml - in which case the below error would be from the IDE (cannot find the
libraries) rather than the ANT build? The project.xml I've attached sets up an appropriate java sources classpath, though you can set one yourself by going into Project Properties in the IDE.
Hope this helps.
To: [hidden email]
Date: Tue, 3 Nov 2015 23:03:54 +0000
Subject: Re: [Squirrel-sql-users] Scripting MS SQL 2012 stored procedure
I wanted to troubleshoot the issue below and checked out the source code from git, built with Ant successfully and created a project in Netbeans from the sources.