Thanks. Please let me know what you find out.
On Mon, Mar 7, 2011 at 12:25 PM, Robert Manning
<rob...@gm...>wrote:
> Hmmm.... I'll have to take a closer look. It could be a problem with the
> code I just added this weekend, though it built fine on the build server and
> in my local environment.
>
> Rob
>
> On Mon, Mar 7, 2011 at 1:54 PM, Adam Winn <win...@gm...> wrote:
>
>> It compiles everything fine up until the generic installer and then it
>> dies the same way as before.
>>
>> On Mon, Mar 7, 2011 at 11:35 AM, Robert Manning <
>> rob...@gm...> wrote:
>>
>>>
>>> Try going up a level (so that you are in the installer/ directory, and
>>> 'mvn clean install' from there)
>>>
>>> Rob
>>>
>>> On Mon, Mar 7, 2011 at 1:10 PM, Adam Winn <win...@gm...> wrote:
>>>
>>>> I cd'd into the sql12/installer/squirrelsql-other-installer/ dir and ran
>>>> 'mvn clean install' and got this:
>>>>
>>>> .....
>>>> [[INFO] Copying autocomplete-r239.jar to
>>>> /Users/awinn/Desktop/sql12/installer/squirrelsql-other-installer/target/lib/autocomplete.jar
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [ERROR] FATAL ERROR
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] null
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Trace
>>>> java.lang.NullPointerException
>>>> at
>>>> org.apache.maven.plugin.dependency.CopyDependenciesMojo.getResolvedPomArtifact(CopyDependenciesMojo.java:229)
>>>> at
>>>> org.apache.maven.plugin.dependency.CopyDependenciesMojo.copyPoms(CopyDependenciesMojo.java:212)
>>>> at
>>>> org.apache.maven.plugin.dependency.CopyDependenciesMojo.execute(CopyDependenciesMojo.java:122)
>>>> at
>>>> net.sf.squirrel_sql.CopySquirrelDependenciesMojo.execute(CopySquirrelDependenciesMojo.java:143)
>>>> at
>>>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
>>>> at
>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
>>>> at
>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
>>>> at
>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
>>>> at
>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
>>>> at
>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
>>>> at
>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
>>>> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
>>>> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
>>>> at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
>>>> at
>>>> org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>> at
>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>> at
>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>>> at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>>>> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>>>> at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>>>> at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>>
>>>>
>>>> Any ideas?
>>>>
>>>> On Mon, Mar 7, 2011 at 10:36 AM, Robert Manning <
>>>> rob...@gm...> wrote:
>>>>
>>>>> Right, you cannot simply run the compiled SQuirreL from there. There
>>>>> is an installer directory : sql12/installer/squirrelsql-other-installer/,
>>>>> where you can go to build and extract the installer again using
>>>>>
>>>>> mvn clean install
>>>>>
>>>>> Then, cd into the target folder and you will see folders that contain
>>>>> timestamps and a suffix of "base", "standard and "optional". They each will
>>>>> contain a launch script that when inoked will launch the SQuirreL that you
>>>>> have built locally - the only difference is the set of plugins that are
>>>>> installed (for example, optional contains all of the plugins).
>>>>>
>>>>> If you always want the installer to be created and extracted, in the
>>>>> ~/.m2/settings.xml uncomment the line near the bottom that looks like this:
>>>>>
>>>>> <!-- <activeProfile>installer</activeProfile>-->
>>>>> If you just want to launch SQuirreL with a single plugin loaded, cd
>>>>> into the plugins/<plugin> that you are interested in, and execute the
>>>>> following command:
>>>>>
>>>>> mvn clean install -P launch
>>>>>
>>>>> Rob
>>>>>
>>>>> On Mon, Mar 7, 2011 at 10:36 AM, Adam Winn <win...@gm...> wrote:
>>>>>
>>>>>> I did this:
>>>>>>
>>>>>> 1) svn co
>>>>>> https://squirrel-sql.svn.sourceforge.net/svnroot/squirrel-sql/trunk/sql12sql12
>>>>>>
>>>>>> 2) cd sql12/
>>>>>>
>>>>>> 3) mvn clean install
>>>>>>
>>>>>> 4) java -jar ./app/target/squirrel-sql-3.3.0-SNAPSHOT.jar
>>>>>>
>>>>>> and I got this:
>>>>>>
>>>>>> Exception in thread "main" java.lang.NoClassDefFoundError:
>>>>>> net/sourceforge/squirrel_sql/fw/util/log/ILoggerFactory
>>>>>> Caused by: java.lang.ClassNotFoundException:
>>>>>> net.sourceforge.squirrel_sql.fw.util.log.ILoggerFactory
>>>>>> at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>>>>>> at java.security.AccessController.doPrivileged(Native Method)
>>>>>> at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>>>>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>>>>>> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>>>>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
>>>>>>
>>>>>> Any ideas? Thanks!
>>>>>>
>>>>>> On Mon, Mar 7, 2011 at 8:16 AM, Robert Manning <
>>>>>> rob...@gm...> wrote:
>>>>>>
>>>>>>> To get your development environment setup see the following:
>>>>>>>
>>>>>>> http://sourceforge.net/apps/trac/squirrel-sql/wiki/DeveloperGuide
>>>>>>> SQuirreL is built with Maven, and follows the conventions that Maven
>>>>>>> specifies, making it easy for new developers who are familiar with Maven to
>>>>>>> get started. If you are new to Maven, you should read the following guide:
>>>>>>>
>>>>>>> http://maven.apache.org/run-maven/index.html#Quick_Start
>>>>>>>
>>>>>>> Essentially, at the top-most point in the sql12/ tree there is a
>>>>>>> pom.xml file that allows you to build the entire tree with the following
>>>>>>> command:
>>>>>>>
>>>>>>> mvn clean install
>>>>>>>
>>>>>>> Rob
>>>>>>>
>>>>>>>
>>>>>>> On Mon, Mar 7, 2011 at 8:28 AM, Adam Winn <win...@gm...>wrote:
>>>>>>>
>>>>>>>> Does anyone know where current instructions are to compile
>>>>>>>> squirrelsql?
>>>>>>>>
>>>>>>>> Are the following links the correct way to compile the app? Thanks.
>>>>>>>>
>>>>>>>> http://sourceforge.net/apps/trac/squirrel-sql/wiki/SQuirreLReleases
>>>>>>>>
>>>>>>>> http://squirrel-sql.sourceforge.net/buildandrelease.html
>>>>>>>>
>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>> What You Don't Know About Data Connectivity CAN Hurt You
>>>>>>>> This paper provides an overview of data connectivity, details
>>>>>>>> its effect on application quality, and explores various alternative
>>>>>>>> solutions. http://p.sf.net/sfu/progress-d2d
>>>>>>>> _______________________________________________
>>>>>>>> Squirrel-sql-develop mailing list
>>>>>>>> Squ...@li...
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/squirrel-sql-develop
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>
|