Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » e(fx)clipse » *.ldef file => generated java code?
*.ldef file => generated java code? [message #1747059] Wed, 09 November 2016 06:42 Go to next message
Jeremie Bresson is currently offline Jeremie BressonFriend
Messages: 124
Registered: November 2010
Senior Member
If I got everything right, some code is generated for each *.ldef file. I am particularly interested in adoc.ldef.

I am interested by the code generated by the JavaFXCodeGenerator.xtend class.

Are you generating one bundle for language (eg for each "*.ldef" file)?
Is there a repository where the generated java classes are committed?

Is there a way to trigger the generator manually for testing purpose?

I would appreciate if you could provide some inputs about this feature.
Re: *.ldef file => generated java code? [message #1747141 is a reply to message #1747059] Thu, 10 November 2016 06:41 Go to previous messageGo to next message
Jeremie Bresson is currently offline Jeremie BressonFriend
Messages: 124
Registered: November 2010
Senior Member
I came one step further.
I have started an Eclipse with the 2 bundles "org.eclipse.fx.code.editor.ldef" and "org.eclipse.fx.code.editor.ldef.ui" to debug the generator.

The problem is that "root.languageDefinition.integration.codeIntegrationList" seems not to contain the expected "org.eclipse.fx.code.editor.ldef.lDef.JavaFXIntegration". I guess I need to uncomment the section:
//	integration {
//		javafx {
//			java "org.eclipse.fx.code.editor.langs.codegen.fx.asciidoc" {
//				project : "org.eclipse.fx.code.editor.langs.codegen.fx"
//			}
//		}
//	}

Re: *.ldef file => generated java code? [message #1747212 is a reply to message #1747141] Thu, 10 November 2016 18:54 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6329
Registered: July 2009
Senior Member
We are not generating java code by default but json files we read at runtime
Previous Topic:tycho build of e(fx)clipse product failed due to missing requirements
Next Topic:Change Update URL at runtime
Goto Forum:
  


Current Time: Mon Jul 24 19:05:34 GMT 2017

Powered by FUDForum. Page generated in 0.03183 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software