Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 344944 - Clean build throws IllegalArgumentException
Summary: Clean build throws IllegalArgumentException
Status: CLOSED FIXED
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: 2.0.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: Final   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-06 06:17 EDT by Robert von Massow CLA
Modified: 2017-09-19 17:04 EDT (History)
1 user (show)

See Also:
sebastian.zarnekow: indigo+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert von Massow CLA 2011-05-06 06:17:59 EDT
Build Identifier: M7

Using indigo M7 and Xtext-2.0M7 I materialized the domain model example. When
invoking a clean build i get the following error:


40203 [Worker-0] ERROR org.eclipse.xtext.xtend2.ui.builder.Xtend2BuilderParticipant  - Error compiling archive:file:/home/skomp/Desktop/3.7/eclipse/plugins/org.eclipse.xtext.generator_2.0.0.v201105030849.jar!/org/eclipse/xtext/generator/serializer/GeneratedFile.xtend
java.lang.IllegalArgumentException: Source file must reside in the workspace
	at org.eclipse.xtext.xtend2.ui.builder.CompilationFileProvider.getFile(CompilationFileProvider.java:46)
	at org.eclipse.xtext.xtend2.ui.builder.Xtend2BuilderParticipant.processDelta(Xtend2BuilderParticipant.java:94)
	at org.eclipse.xtext.xtend2.ui.builder.Xtend2BuilderParticipant.build(Xtend2BuilderParticipant.java:75)
	at org.eclipse.xtext.builder.impl.RegistryBuilderParticipant.build(RegistryBuilderParticipant.java:60)
	at org.eclipse.xtext.builder.impl.XtextBuilder.doBuild(XtextBuilder.java:160)
	at org.eclipse.xtext.builder.impl.XtextBuilder.fullBuild(XtextBuilder.java:182)
	at org.eclipse.xtext.builder.impl.XtextBuilder.build(XtextBuilder.java:85)
	at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:717)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:191)
	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:228)
	at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:281)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:284)
	at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:340)
	at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:363)
	at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:143)
	at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:241)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)


Reproducible: Always
Comment 1 Sebastian Zarnekow CLA 2011-08-28 12:22:12 EDT
I assume this one was already fixed for Indigo final - xtend files from libraries will not be compiled in the project context. Please reopen if the problem persists.
Comment 2 Karsten Thoms CLA 2017-09-19 16:53:17 EDT
Closing all bugs that were set to RESOLVED before Neon.0
Comment 3 Karsten Thoms CLA 2017-09-19 17:04:11 EDT
Closing all bugs that were set to RESOLVED before Neon.0