Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Xtext, Idea multiple output configuration
Xtext, Idea multiple output configuration [message #1735135] Wed, 15 June 2016 18:06 Go to next message
Didier Didos is currently offline Didier DidosFriend
Messages: 14
Registered: April 2016
Junior Member
Hello,

I'm trying to use a second outputconfiguration in the context of idea plugin by overriding IdeaOutputConfigurationProvider and setting config like this:
	val defOut = new OutputConfiguration(DomainModelOutputConfigurationProvider.DEFAULT_OUTPUT_ONCE)
	defOut.outputDirectory = "src-gen-once".toModuleRelativePath(module)
		defOut.createOutputDirectory = true
		defOut.setDerivedProperty = false
		defOut.cleanUpDerivedResources = false
		defOut.overrideExistingResources = false
		defOut.useOutputPerSourceFolder = false


But it is not working when overrideExistingResources = false but only when overrideExistingResources = true

I'm using xtext 2.9.1, and I'll try using 2.10

Do you have any clue?
Re: Xtext, Idea multiple output configuration [message #1735147 is a reply to message #1735135] Wed, 15 June 2016 20:28 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13214
Registered: July 2009
Senior Member
the problem is somewhere inside org.eclipse.xtext.idea.resource.IdeaResourceSetProvider.VirtualFileBasedUriHandler.exists(URI, Map<?, ?>)

(the call off org.eclipse.xtext.idea.resource.IdeaResourceSetProvider.VirtualFileBasedUriHandler.getFolderDescriptor(URI))

can you please file a ticket for that



Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/xtext/
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Xtext, Idea multiple output configuration [message #1735160 is a reply to message #1735135] Thu, 16 June 2016 02:57 Go to previous messageGo to next message
Didier Didos is currently offline Didier DidosFriend
Messages: 14
Registered: April 2016
Junior Member
Ticket is opened.
Thanks for your answer.
Do you have any workaround?
Re: Xtext, Idea multiple output configuration [message #1735169 is a reply to message #1735160] Thu, 16 June 2016 04:53 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13214
Registered: July 2009
Senior Member
No

Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/xtext/
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Previous Topic:Best practice for checking URI equality
Next Topic:Xtext custom content assist problem
Goto Forum:
  


Current Time: Thu Nov 21 04:02:46 GMT 2019

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

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

Back to the top