Skip to main content



      Home
Home » Modeling » TMF (Xtext) » Xtext, Idea multiple output configuration
Xtext, Idea multiple output configuration [message #1735135] Wed, 15 June 2016 14:06 Go to next message
Eclipse UserFriend
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 16:28 Go to previous messageGo to next message
Eclipse UserFriend
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

Re: Xtext, Idea multiple output configuration [message #1735160 is a reply to message #1735135] Wed, 15 June 2016 22:57 Go to previous messageGo to next message
Eclipse UserFriend
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 00:53 Go to previous message
Eclipse UserFriend
No
Previous Topic:Best practice for checking URI equality
Next Topic:Xtext custom content assist problem
Goto Forum:
  


Current Time: Thu Jul 17 00:00:57 EDT 2025

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

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

Back to the top