GoldSpike fails to build the war archive if the DB setup in database.yml can't 
establish a DB connection on the machine where it's building
-------------------------------------------------------------------------------------------------------------------------------------------

                 Key: JRUBY-923
                 URL: http://jira.codehaus.org/browse/JRUBY-923
             Project: JRuby
          Issue Type: Bug
         Environment: Linux 2.6.20; Java 1.6
            Reporter: Raphael Valyi
            Assignee: Thomas E Enebo
            Priority: Minor


Hi,

currently Goldspike (Rails-Integration plugin for Googler's) can't build the 
war if the database.yml setup isn't valid on the machine where you are 
building. This isn't very good. Suppose for instance you are using a different 
setup in dev and in prod. Then the build fails with an error like:
{noformat}
The driver encounter an error: java.sql.SQLException: Access denied for user 
'foo'@'localhost' (using password: YES)
{noformat}

I think this behavior is recent. I never noticed it before today.

Workarround: build the war with working local DB settings, then unzip the war, 
patch it and zip it again + rename it properly; offshore the process to achieve 
automatic build :-(

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to