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

Migrate from Xtend to Java #42

Closed
PhilippSalvisberg opened this issue Sep 15, 2021 · 3 comments · Fixed by #61
Closed

Migrate from Xtend to Java #42

PhilippSalvisberg opened this issue Sep 15, 2021 · 3 comments · Fixed by #61
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@PhilippSalvisberg
Copy link
Collaborator

To make the validators work in any db* CODECOP supported environment Java 8 compatibility is necessary for the runtime classes. For test classes Java 17 can be used, which is helpful to replace the multiline strings for SQL and PL/SQL code in the test classes.

Using Java instead of Xtend should make it easier to get started in any IDE.

@mhoys
Copy link

mhoys commented May 3, 2024

Hi Philipp, we were using a custom-made Xtend file with our own validations with db*CODECOP version 4.3, but this no longer seems to work with version 5.0.1. I think I will have to convert our custom Xtend files to Java. Is there an easy way to convert Xtend files to Java?

@PhilippSalvisberg
Copy link
Collaborator Author

Is there an easy way to convert Xtend files to Java?

Yes, you could use the file generated by Xtend, but it doesn't look lovely.

I've written a this blog post some time ago with a step-by-step guide. This should help.

@mhoys
Copy link

mhoys commented May 3, 2024

Thanks Philipp! Looks to be working fine indeed.

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

Successfully merging a pull request may close this issue.

2 participants