[JIRA] (JENKINS-15303) Building grails with Jenkins is causing an exception during runtime.

2013-03-27 Thread jame...@gmail.com (JIRA)














































hardwickj
 commented on  JENKINS-15303


Building grails with Jenkins is causing an exception during runtime.















For starters, you are using invalid syntax for your hasMany map in DomainOne. I'd fix that first and then probably close this bug. 



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[JIRA] (JENKINS-15303) Building grails with Jenkins is causing an exception during runtime.

2013-03-27 Thread jame...@gmail.com (JIRA)














































hardwickj
 updated  JENKINS-15303


Building grails with Jenkins is causing an exception during runtime.
















Change By:


hardwickj
(27/Mar/13 3:09 PM)




Priority:


Critical
Trivial



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[JIRA] (JENKINS-15303) Building grails with Jenkins is causing an exception during runtime.

2013-03-27 Thread fbouche...@turningtechnologies.com (JIRA)














































Fares Bouchedid
 updated  JENKINS-15303


Building grails with Jenkins is causing an exception during runtime.
















This is the fix for DomainOne.groovy
Please Delete DomainOne.groovy





Change By:


Fares Bouchedid
(27/Mar/13 3:20 PM)




Attachment:


DomainOneFix.groovy



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[JIRA] (JENKINS-15303) Building grails with Jenkins is causing an exception during runtime.

2013-03-27 Thread fbouche...@turningtechnologies.com (JIRA)














































Fares Bouchedid
 commented on  JENKINS-15303


Building grails with Jenkins is causing an exception during runtime.















That was a mistake creating sample grails domains. The issue still exist and I uploaded a new Domain called DomainOneFix.groovy



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[JIRA] (JENKINS-15303) Building grails with Jenkins is causing an exception during runtime.

2013-03-27 Thread jame...@gmail.com (JIRA)














































hardwickj
 commented on  JENKINS-15303


Building grails with Jenkins is causing an exception during runtime.















You still have invalid syntax. "mapping" is supposed to be a closure, but you are defining it sort of like a map (See http://grails.org/doc/latest/guide/single.html#ormdsl)

Please attach a complete zipped app containing this example that shows this working correctly. I have a hard time believing it would work correctly anywhere, let alone Jenkins. The jenkins grails plugin isn't going to alter the runtime GORM mapping behavior of grails. The only way it could do so is if you supplied an external config as part of the build step, which is a standard Grails convention anyways and again nothing specific to Jenkins.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[JIRA] (JENKINS-15303) Building grails with Jenkins is causing an exception during runtime.

2012-09-25 Thread fbouche...@turningtechnologies.com (JIRA)














































Fares Bouchedid
 created  JENKINS-15303


Building grails with Jenkins is causing an exception during runtime.















Issue Type:


Bug



Affects Versions:


current



Assignee:


jeffg2one



Attachments:


DomainOne.groovy, DomainTwo.groovy



Components:


grails



Created:


25/Sep/12 1:52 PM



Description:


Creating a grails war in IntelliJ does not introduce an exception during runtime for domain mapping. Attached are example domains that are causing the issue. When the project is built in Jenkins it seems that it does not take into consideration the static mappedBy field in DomainOne (Attached).
Building with IntelliJ the mappedBy is working properly during runtime.




Environment:


Tomcat 7, Windows Server 2008 64 bit, Grails 2.0.4, Java 7




Project:


Jenkins



Labels:


plugin
exception
jenkins
grails




Priority:


Critical



Reporter:


Fares Bouchedid

























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira