Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem generated Java sources from Xtend #4

Open
robstewart57 opened this issue Aug 1, 2014 · 1 comment
Open

Problem generated Java sources from Xtend #4

robstewart57 opened this issue Aug 1, 2014 · 1 comment

Comments

@robstewart57
Copy link
Contributor

On another machine, i.e. not the one that experiences the error in #3 , I am seeing the error mv: cannot stat ‘xtend-output/net/sf/orcc/cal/generator/CalGenerator.java’: No such file or directory.

$ $SCRIPTS_DIR/orcc_build $WORK_DIR ~/code/orcc-fork/orcc/eclipse/features ~/code/orcc-fork/orcc/eclipse/plugins
Variable BUILDTYPE has not been set. Initialized to "tests"
***START*** Fri, 01 Aug 2014 22:46:07 +0100 Build type: tests

****************************************************************
*             Generates Cal Xtext architecture                 *
****************************************************************

~/sw/orcc-working-dir/working/build.dir.tests/plugins/net.sf.orcc.cal ~/sw/orcc-working-dir/ci-server-scripts/headless_build
0    INFO  StandaloneSetup    - Registering platform uri '/home/rob/sw/orcc-working-dir/working/build.dir.tests/plugins'
2000 INFO  DirectoryCleaner   - Cleaning /home/rob/sw/orcc-working-dir/working/build.dir.tests/plugins/net.sf.orcc.cal/../net.sf.orcc.cal/src-gen
2001 INFO  DirectoryCleaner   - Cleaning /home/rob/sw/orcc-working-dir/working/build.dir.tests/plugins/net.sf.orcc.cal/../net.sf.orcc.cal.ui/src-gen
2001 INFO  DirectoryCleaner   - Cleaning /home/rob/sw/orcc-working-dir/working/build.dir.tests/plugins/net.sf.orcc.cal/../net.sf.orcc.cal.tests/src-gen
2146 INFO  LanguageConfig     - generating infrastructure for net.sf.orcc.cal.Cal with fragments : ImplicitRuntimeFragment, ImplicitUiFragment, GrammarAccessFragment, EMFGeneratorFragment, ParseTreeConstructorFragment, ResourceFactoryFragment, XtextAntlrGeneratorFragment, JavaValidatorFragment, ImportNamespacesScopingFragment, QualifiedNamesFragment, BuilderIntegrationFragment, GeneratorFragment, FormatterFragment, LabelProviderFragment, OutlineTreeProviderFragment, QuickOutlineFragment, JavaBasedContentAssistFragment, XtextAntlrUiGeneratorFragment, Junit4Fragment, QuickfixProviderFragment, RefactorElementNameFragment, CompareFragment
8892 INFO  GenModelHelper     - Registered GenModel 'http://orcc.sf.net/cal/Cal' from 'platform:/resource/net.sf.orcc.cal/model/generated/Cal.genmodel'
24298 INFO  JavaValidatorFragment - generating Java-based EValidator API
29188 INFO  Junit4Fragment     - generating Junit4 Test support classes
29213 INFO  CompareFragment    - generating Compare Framework infrastructure
29372 INFO  Workflow           - Done.
~/sw/orcc-working-dir/ci-server-scripts/headless_build

****************************************************************
*             Generates Java sources from Xtend                *
****************************************************************

~/sw/orcc-working-dir/working/build.dir.tests/plugins ~/sw/orcc-working-dir/ci-server-scripts/headless_build
0    INFO  XtendBatchCompiler - No sources to compile in ''
0 [main] INFO org.eclipse.xtend.core.compiler.batch.XtendBatchCompiler  - No sources to compile in ''
mv: cannot stat ‘xtend-output/net/sf/orcc/cal/generator/CalGenerator.java’: No such file or directory
@robstewart57
Copy link
Contributor Author

A work around is to simply run the same command again. The second run seems to overcome this error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant