Community
Participate
Working Groups
If I set the compile output to target/classes and then try export I get this: !SUBENTRY 1 org.eclipse.tigerstripe.workbench.ui.base 4 222 2011-02-07 18:13:12.397 !MESSAGE Internal Error !STACK 0 java.io.IOException: SrcDir /EclipseWorkspaces/tycho-rework/tigerstripe-tycho/annotation-poc/annotation-poc-model/bin cannot be found. at org.eclipse.tigerstripe.workbench.internal.core.util.FileUtils.copyDir(FileUtils.java:94) at org.eclipse.tigerstripe.workbench.internal.core.module.packaging.ModulePackager.copyCompiledArtifacts(ModulePackager.java:357) at org.eclipse.tigerstripe.workbench.internal.core.module.packaging.ModulePackager.packageUp(ModulePackager.java:118) at org.eclipse.tigerstripe.workbench.ui.internal.export.ModuleExportWizard.internalPerformFinish(ModuleExportWizard.java:175) at org.eclipse.tigerstripe.workbench.ui.internal.export.ModuleExportWizard.access$0(ModuleExportWizard.java:147) at org.eclipse.tigerstripe.workbench.ui.internal.export.ModuleExportWizard$1.run(ModuleExportWizard.java:110) at org.eclipse.jdt.internal.core.BatchOperation.executeOperation(BatchOperation.java:39) at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:728) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975) at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:4777) at org.eclipse.jdt.internal.ui.actions.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:106) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Specific instructions for reproducing this problem: 1) Create a Tigerstripe project called p1 2) Create the following folders in p1: 'target/classes' 3) Right click on p1 > Properties > Java Build Path > Select Source tab > Select your source folder > On the bottom of the page, select 'target/classes' as the output folder 4) Create a couple of entities in p1 5) Open Error Log view and clear its entries 6) Export p1 as a Tigerstripe module. Notice the entries logged in Error log view. The project doesn't get exported as expected.
Created attachment 188758 [details] 336573 patch
Anton's patch applied.
Verified. Thanks!