Revision: 6629
http://squirrel-sql.svn.sourceforge.net/squirrel-sql/?rev=6629&view=rev
Author: gerdwagner
Date: 2012-05-28 22:19:35 +0000 (Mon, 28 May 2012)
Log Message:
-----------
Web site: IDE set up how to.
Modified Paths:
--------------
trunk/sql12/web-site/programming.html
Added Paths:
-----------
trunk/sql12/web-site/IDEsetup/
trunk/sql12/web-site/IDEsetup/Eclipse.jpg
trunk/sql12/web-site/IDEsetup/IntelliJ.jpg
trunk/sql12/web-site/IDEsetup/Netbeans.jpg
trunk/sql12/web-site/IDEsetup/SQuirreLIDE.html
Added: trunk/sql12/web-site/IDEsetup/Eclipse.jpg
===================================================================
(Binary files differ)
Property changes on: trunk/sql12/web-site/IDEsetup/Eclipse.jpg
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/sql12/web-site/IDEsetup/IntelliJ.jpg
===================================================================
(Binary files differ)
Property changes on: trunk/sql12/web-site/IDEsetup/IntelliJ.jpg
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/sql12/web-site/IDEsetup/Netbeans.jpg
===================================================================
(Binary files differ)
Property changes on: trunk/sql12/web-site/IDEsetup/Netbeans.jpg
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/sql12/web-site/IDEsetup/SQuirreLIDE.html
===================================================================
--- trunk/sql12/web-site/IDEsetup/SQuirreLIDE.html (rev 0)
+++ trunk/sql12/web-site/IDEsetup/SQuirreLIDE.html 2012-05-28 22:19:35 UTC (rev 6629)
@@ -0,0 +1,97 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML>
+<HEAD>
+ <TITLE>Develop and debug SQuirreL and SQuirreL-Plugins</TITLE>
+</HEAD>
+<BODY LANG="en-US" DIR="LTR">
+<P><B>Develop and debug SQuirreL and
+SQuirreL-Plugins</B></P>
+<P><B>Scope</B></P>
+<P>This article explains how to set up
+Java-IDEs to develop and debug SQuirreL and SQuirreL-Plugins. The set
+up presented here is different from the standard Maven
+based set up explained at
+<A HREF="http://sourceforge.net/apps/trac/squirrel-sql/wiki/DeveloperGuide">http://sourceforge.net/apps/trac/squirrel-sql/wiki/DeveloperGuide</A>.
+While the Maven based set up provides all the necessary steps to
+create full builds and installers for SQuirreL this set up is focused on a
+programmer's needs who wants to quickly compile, test and
+debug code changes.</P>
+<P><BR>
+</P>
+<P><BR>
+</P>
+<P><B>Content</B></P>
+<OL>
+ <LI><P><B>Basic idea</B><BR>First we
+ describe the basic idea of the set up which should be
+ IDE-independent. That means with any Java-IDE one should be able to
+ create a project according to the basic idea.</P>
+ <LI><P><B>Example project set ups for
+ Eclipse, Netbeans and IntelliJ-Idea</B></P>
+</OL>
+<P><BR>
+</P>
+<P><BR>
+</P>
+<P><B>Basic idea</B></P>
+<OL>
+ <LI><P>Install SQuirreL in some
+ directory. Alternatively after you have done the Maven builds you
+ might use <SPAN STYLE="font-style: normal">sql12/installer/squirrelsql-other-installer/target/
+ </SPAN>as your quasi installation directory.</P>
+ <LI><P>Create a project in your IDE and
+ include the necessary libraries from the installation directory.
+ That is usually the jars from the lib dir, squirrel-sql.jar and the
+ jars from the plugins/ directory. <BR>
+ Some Plugins bring their own
+ libraries with them. You might need to include those libs in your
+ project too.</P>
+ <LI><P>At this point you should be able
+ to start SQuirrel from within the IDE using
+ </P>
+ <UL>
+ <LI><P>net.sourceforge.squirrel_sql.client.Main
+ as main class.
+ </P>
+ <LI><P>splash:<install-dir>/icons/splash.jpg
+ as VM parameter. (Note: You wont find splash.jpg in the quasi
+ installation dir mentioned above.)</P>
+ <LI><P>-home <installation-directory>
+ as program parameter.</P>
+ </UL>
+ <LI><P>Include the sources of your SVN
+ checkout you want to work with in your project. For example<BR>
+ sql12/fw/src/main/java/ <BR>
+ sql12/fw/src/main/resource/<BR>
+ sql12/app/src/main/java/<BR>
+ sql12/app/src/main/resource/ <BR>
+ sql12/plugins/graph/src/main/java/<BR>
+ sql12/plugins/graph/src/main/resource/
+ </P>
+</OL>
+
+Now you should be able to compile,
+test and debug code changes to these sources. This works because
+your IDE usually has a compile output directory. When you launch
+SQuirreL from within your IDE this directory should automatically be
+put first in your classpath.<BR><BR>
+
+
+<BR><BR>
+<P><B>Example project set ups Eclipse, Netbeans and IntelliJ-Idea</B></P>
+
+</P>
+<P><B>Eclipse</B></P>
+<P><IMG SRC="Eclipse.jpg" NAME="Eclipse" ALIGN=LEFT BORDER=0 height="80%"><BR CLEAR=LEFT><BR><BR>
+</P>
+</P>
+</P>
+<P><B>Netbeans</B></P>
+<P><IMG SRC="Netbeans.jpg" NAME="Netbeans" ALIGN=LEFT BORDER=0 height="80%"><BR CLEAR=LEFT><BR><BR>
+</P>
+</P>
+</P>
+<P><B>IntelliJ Idea</B></P>
+<P><IMG SRC="IntelliJ.jpg" NAME="IntelliJ" ALIGN=LEFT BORDER=0 height="80%"><BR CLEAR=LEFT>
+</BODY>
+</HTML>
\ No newline at end of file
Modified: trunk/sql12/web-site/programming.html
===================================================================
--- trunk/sql12/web-site/programming.html 2012-05-25 16:36:38 UTC (rev 6628)
+++ trunk/sql12/web-site/programming.html 2012-05-28 22:19:35 UTC (rev 6629)
@@ -13,7 +13,9 @@
for instructions on setting up your development environment. If you are writing a plugin, you may
also find the
<a href="https://sourceforge.net/apps/trac/squirrel-sql/wiki/SQuirreLSQLClientPluginAPI">
- Plugin Devloper's API</a> useful.</FONT></p>
+ Plugin Devloper's API</a> useful.
+ There is also an <a href="IDEsetup/SQuirreLIDE.html"> instruction how to set up your IDE </a> to quickly compile, test and debug code changes.
+ </FONT></p>
<FONT SIZE=3>Note: In case you intend to write a new Plugin we would be grateful if you would
release it under an Open Source license. In case you change SQuirreL's core or
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|