Ticket #302 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

Search.groovy>: 49: unexpected token

Reported by: m.s.vanvliet@… Owned by: t.w.abma@…
Priority: major Milestone: Should have
Component: Unknown Version: 0.6.3
Keywords: Cc:
Product: Operating system:
URL: Hardware:

Description

At revision 1482
no change for  https://trac.nbic.nl/svn/gscf/trunk since the previous build
[workspace] $ /app/grails-1.3.6/bin/grails -Dserver.port=8191 doc --non-interactive
Welcome to Grails 1.3.6 -  http://grails.org/
Licensed under Apache Standard License 2.0
Grails home is set to: /app/grails-1.3.6

Base Directory: < http://hudson.nmcdsp.org/hudson/job/GSCF-TEST-DOC/ws/>
Resolving dependencies...
Dependencies resolved in 633ms.
Running script /app/grails-1.3.6/scripts/Doc.groovy
Environment set to development
Setting non-interactive mode
Plugin [ajaxflow-0.1.19] not installed. ...
Plugin [spring-security-core-1.0.1] not installed. ...
Plugin [oauth-0.10] not installed. ...
Plugin [gdt-0.0.7] not installed. ...
Plugin [searchable-0.5.5.1] not installed. ...
Plugin [webtest-3.0.1] not installed. ...
Plugin [famfamfam-1.0.1] not installed. ...
Resolving new plugins. Please wait... ...
Installing zip /home/tomcat/.ivy2/cache/org.grails.plugins/searchable/zips/searchable-0.5.5.1.zip... ...

[mkdir] Created dir: /home/tomcat/.grails/1.3.6/projects/workspace/plugins/searchable-0.5.5.1
[unzip] Expanding: /home/tomcat/.ivy2/cache/org.grails.plugins/searchable/zips/searchable-0.5.5.1.zip into /home/tomcat/.grails/1.3.6/projects/workspace/plugins/searchable-0.5.5.1

Installed plugin searchable-0.5.5.1 to location /home/tomcat/.grails/1.3.6/projects/workspace/plugins/searchable-0.5.5.1. ...
Executing searchable-0.5.5.1 plugin post-install script ...

Thanks for installing the Grails Searchable Plugin!

Documentation is available at  http://grails.org/Searchable+Plugin

Help is available from user@…

Issues and improvements should be raised at  http://jira.codehaus.org/browse/GRAILSPLUGINS

If you are upgrading from a previous release, please see  http://grails.org/Searchable+Plugin+-+Releases

Plugin searchable-0.5.5.1 installed
Plugin provides the following new scripts:


grails install-searchable-config

[delete] Deleting directory /home/tomcat/.grails/1.3.6/projects/workspace/classes
[delete] Deleting directory /home/tomcat/.grails/1.3.6/projects/workspace/plugin-classes
[delete] Deleting directory /home/tomcat/.grails/1.3.6/projects/workspace/resources
[delete] Deleting directory /home/tomcat/.grails/1.3.6/projects/workspace/test-classes

Installing zip /home/tomcat/.ivy2/cache/org.grails.plugins/gdt/zips/gdt-0.0.7.zip... ...

[mkdir] Created dir: /home/tomcat/.grails/1.3.6/projects/workspace/plugins/gdt-0.0.7
[unzip] Expanding: /home/tomcat/.ivy2/cache/org.grails.plugins/gdt/zips/gdt-0.0.7.zip into /home/tomcat/.grails/1.3.6/projects/workspace/plugins/gdt-0.0.7

Installed plugin gdt-0.0.7 to location /home/tomcat/.grails/1.3.6/projects/workspace/plugins/gdt-0.0.7. ...
Plugin dependency [ajaxflow] not found. Attempting to resolve... ...
Resolving plugin ajaxflow. Please wait...

Installing zip /home/tomcat/.ivy2/cache/org.grails.plugins/ajaxflow/zips/ajaxflow-0.1.19.zip... ...

[mkdir] Created dir: /home/tomcat/.grails/1.3.6/projects/workspace/plugins/ajaxflow-0.1.19
[unzip] Expanding: /home/tomcat/.ivy2/cache/org.grails.plugins/ajaxflow/zips/ajaxflow-0.1.19.zip into /home/tomcat/.grails/1.3.6/projects/workspace/plugins/ajaxflow-0.1.19

Installed plugin ajaxflow-0.1.19 to location /home/tomcat/.grails/1.3.6/projects/workspace/plugins/ajaxflow-0.1.19. ...
Resolving plugin JAR dependencies ...
Executing ajaxflow-0.1.19 plugin post-install script ...
Plugin ajaxflow-0.1.19 installed
Plugin provides the following new scripts:


grails create-ajaxflow
Resolving plugin JAR dependencies ...
Executing gdt-0.0.7 plugin post-install script ...
Plugin gdt-0.0.7 installed
Installing zip /home/tomcat/.ivy2/cache/org.grails.plugins/spring-security-core/zips/spring-security-core-1.0.1.zip... ...

[mkdir] Created dir: /home/tomcat/.grails/1.3.6/projects/workspace/plugins/spring-security-core-1.0.1
[unzip] Expanding: /home/tomcat/.ivy2/cache/org.grails.plugins/spring-security-core/zips/spring-security-core-1.0.1.zip into /home/tomcat/.grails/1.3.6/projects/workspace/plugins/spring-security-core-1.0.1

Installed plugin spring-security-core-1.0.1 to location /home/tomcat/.grails/1.3.6/projects/workspace/plugins/spring-security-core-1.0.1. ...
Resolving plugin JAR dependencies ...
Executing spring-security-core-1.0.1 plugin post-install script ...

*******************************************************
* You've installed the Spring Security Core plugin. *
* *
* Next run the "s2-quickstart" script to initialize *
* Spring Security and create your domain classes. *
* *
*******************************************************

Plugin spring-security-core-1.0.1 installed
Plugin provides the following new scripts:


grails s2-quickstart
grails s2-create-persistent-token
Installing zip /home/tomcat/.ivy2/cache/org.grails.plugins/oauth/zips/oauth-0.10.zip... ...

[mkdir] Created dir: /home/tomcat/.grails/1.3.6/projects/workspace/plugins/oauth-0.10
[unzip] Expanding: /home/tomcat/.ivy2/cache/org.grails.plugins/oauth/zips/oauth-0.10.zip into /home/tomcat/.grails/1.3.6/projects/workspace/plugins/oauth-0.10

Installed plugin oauth-0.10 to location /home/tomcat/.grails/1.3.6/projects/workspace/plugins/oauth-0.10. ...
Resolving plugin JAR dependencies ...
Executing oauth-0.10 plugin post-install script ...
Plugin oauth-0.10 installed
Installing zip /home/tomcat/.ivy2/cache/org.grails.plugins/famfamfam/zips/famfamfam-1.0.1.zip... ...

[mkdir] Created dir: /home/tomcat/.grails/1.3.6/projects/workspace/plugins/famfamfam-1.0.1
[unzip] Expanding: /home/tomcat/.ivy2/cache/org.grails.plugins/famfamfam/zips/famfamfam-1.0.1.zip into /home/tomcat/.grails/1.3.6/projects/workspace/plugins/famfamfam-1.0.1

Installed plugin famfamfam-1.0.1 to location /home/tomcat/.grails/1.3.6/projects/workspace/plugins/famfamfam-1.0.1. ...
Executing famfamfam-1.0.1 plugin post-install script ...
Plugin famfamfam-1.0.1 installed
Installing zip /home/tomcat/.ivy2/cache/org.grails.plugins/webtest/zips/webtest-3.0.1.zip... ...

[mkdir] Created dir: /home/tomcat/.grails/1.3.6/projects/workspace/plugins/webtest-3.0.1
[unzip] Expanding: /home/tomcat/.ivy2/cache/org.grails.plugins/webtest/zips/webtest-3.0.1.zip into /home/tomcat/.grails/1.3.6/projects/workspace/plugins/webtest-3.0.1

Installed plugin webtest-3.0.1 to location /home/tomcat/.grails/1.3.6/projects/workspace/plugins/webtest-3.0.1. ...
Resolving plugin JAR dependencies ...
Executing webtest-3.0.1 plugin post-install script ...
install:

[delete] Directory does not exist:/home/tomcat/.grails/1.3.6/scriptCache


Plugin webtest-3.0.1 installed
Plugin provides the following new scripts:


grails create-webtest
Executing . plugin uninstall script ...

[delete] Deleting directory /home/tomcat/.grails/1.3.6/projects/workspace/plugins/datatables-0.1.6

Executing . plugin uninstall script ...

[delete] Deleting directory /home/tomcat/.grails/1.3.6/projects/workspace/plugins/activity-logger-0.1.1

[mkdir] Created dir: /home/tomcat/.grails/1.3.6/projects/workspace/plugin-classes

[groovyc] Compiling 161 source files to /home/tomcat/.grails/1.3.6/projects/workspace/plugin-classes

/home/tomcat/.grails/1.3.6/projects/workspace/plugins/searchable-0.5.5.1/src/java/org/codehaus/groovy/grails/plugins/searchable/compass/config/mapping/CompassAnnotationSearchableGrailsDomainClassMappingConfigurator.java:56: warning: non-varargs call of varargs method with inexact argument type for last parameter;
cast to java.lang.Object for a varargs call
cast to java.lang.Object[] for a non-varargs call and to suppress this warning

return ReflectionUtils?.invokeMethod(getter, clazz, new Class[] { getSearchableAnnotationClass() }) != null;


Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 warning

[mkdir] Created dir: /home/tomcat/.grails/1.3.6/projects/workspace/classes

[groovyc] Compiling 77 source files to /home/tomcat/.grails/1.3.6/projects/workspace/classes
[groovyc] org.codehaus.groovy.control.MultipleCompilationErrorsException?: startup failed:
[groovyc] < http://hudson.nmcdsp.org/hudson/job/GSCF-TEST-DOC/ws/src/groovy/dbnp/query/Search.groovy>: 49: unexpected token: << @ line 49, column 1.
[groovyc] <<<<<<< .mine
[groovyc]
[groovyc]
[groovyc] 1 error

Compilation error: Compilation Failed

Change History

Changed 3 years ago by work@…

  • status changed from new to assigned
  • owner changed from work@… to m.s.vanvliet@…

Appears to be a SVN issue with hudson:

[groovyc] <<<<<<< .mine

Changed 3 years ago by work@…

  • owner changed from m.s.vanvliet@… to t.w.abma@…

Tjeerd is also getting the issue, he is debugging it now...

Changed 3 years ago by work@…

Euh.... in the source code:

<<<<<<< .mine
	public Search() {
		ApplicationContext ctx = (ApplicationContext)ApplicationHolder.getApplication().getMainContext();
		def authenticationService = ctx.getBean("authenticationService");
		def sessionUser = authenticationService.getLoggedInUser();
		
		if( sessionUser )
			this.user = sessionUser;
		else
			this.user = null
	}
	
=======
>>>>>>> .r1481

Somebody accepted a conflict without properly merging?

Changed 3 years ago by work@…

ah, it was robert in r1482...

Changed 3 years ago by work@…

  • status changed from assigned to closed
  • resolution set to fixed

Tjeerd fixed it in r1483

Changed 3 years ago by robert@…

Sorry guys, I had some trouble committing my stuff, and thought I had fixed it properly (I had removed the conflict 3 times already). Glad that it is fixed now.

Note: See TracTickets for help on using tickets.