Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[irit.gama.switchproject] Upgrade from StringUtils.tokenize #33

Open
RoiArthurB opened this issue Jul 19, 2023 · 1 comment
Open

[irit.gama.switchproject] Upgrade from StringUtils.tokenize #33

RoiArthurB opened this issue Jul 19, 2023 · 1 comment
Assignees
Labels

Comments

@RoiArthurB
Copy link
Contributor

Hi @benoitgaudou ! 👋

Since gama-platform/gama@7f328e8 @AlexisDrogoul removed from StringUtils the tokenize function.

Therefore, the plugin Switch doesn't compile anymore for GAMA 1.9.2...

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  30.409 s
[INFO] Finished at: 2023-07-19T10:29:17+07:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:3.0.3:compile (default-compile) on project irit.gama.switchproject: Compilation failure: Compilation failure: 
[ERROR] /home/roiarthurb/Documents/GAMA/Extra/experimental/irit.gama.switchproject/src/irit/gaml/types/GamaQueueType.java:[108] 
[ERROR] 	return new GamaQueue(contentsType, StringUtils.tokenize((String) obj));
[ERROR] 	                                               ^^^^^^^^
[ERROR] The method tokenize(String) is undefined for the type StringUtils
[ERROR] /home/roiarthurb/Documents/GAMA/Extra/experimental/irit.gama.switchproject/src/irit/gaml/types/GamaStackType.java:[108] 
[ERROR] 	return new GamaStack(contentsType, StringUtils.tokenize((String) obj));
[ERROR] 	                                               ^^^^^^^^
[ERROR] The method tokenize(String) is undefined for the type StringUtils
[ERROR] 3. INFO: GAML: GAML Processor: creating file:/home/roiarthurb/Documents/GAMA/Extra/experimental/irit.gama.switchproject/target/gaml/additions/package-info.java
[ERROR] 4. INFO: GAML: GAML Processor: Java sources produced for irit.gama.switchproject in 35ms
[ERROR] 5. INFO: GAML: GAML Processor: GAMA tests produced for irit.gama.switchproject in 0ms
[ERROR] 6. INFO: GAML: GAML Processor: Complete processing of irit.gama.switchproject in 35ms
[ERROR] 6 problems (2 errors, 0 warnings, 4 infos)
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :irit.gama.switchproject
@RoiArthurB
Copy link
Contributor Author

Here's the failing compilation log : https://github.com/gama-platform/gama.experimental/actions/runs/5596292150/jobs/10233136580

I'm removing this plugin from GAMA_1.9.2 branch to have it compiling, feel free to re-add it when the plugin is fixed or close this issue if this plugin is abandonned :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants