Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » <epsilon.eugenia> in ant headless mode ?
<epsilon.eugenia> in ant headless mode ? [message #1265474] Thu, 06 March 2014 06:22 Go to next message
Shrikanth NC is currently offline Shrikanth NCFriend
Messages: 31
Registered: February 2014
Member
I am trying to generate diagram editor from command promt using emfatic file

C:\Users\shrikanth_n_c>java -jar C:\eclipse\plugins\org.eclipse.equinox.launcher
_1.3.0.v20130327-1440.jar -application org.eclipse.ant.core.antRunner -buildfile
C:\epsilon\workspace\is\model\build.xml
Buildfile: C:\epsilon\workspace\is\model\build.xml

main:

BUILD FAILED
C:\epsilon\workspace\is\model\build.xml:3: Problem: failed to create task or typ
e epsilon.eugenia
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.


Total time: 0 seconds
An error has occurred. See the log file ( Attached )

And my build.xml is,

<project default="main">
<target name="main">
<epsilon.eugenia src="new_file.emf"/>
</target>
</project>


Do I have to specify dependencies/classpath entries ? What is missing ?

Kindly help!


Thanks,
Shrikanth NC
  • Attachment: .log
    (Size: 5.81KB, Downloaded 200 times)
Re: <epsilon.eugenia> in ant headless mode ? [message #1266231 is a reply to message #1265474] Fri, 07 March 2014 06:14 Go to previous message
Shrikanth NC is currently offline Shrikanth NCFriend
Messages: 31
Registered: February 2014
Member
I am able to overcome the above error.
But now I have a new issue which is,

Buildfile: C:\epsilon\workspace\is\model\build.xml

main:

BUILD FAILED
C:\epsilon\workspace\is\model\build.xml:17: java.lang.IllegalStateException: Wor
kbench has not been created yet.
at org.eclipse.ui.PlatformUI.getWorkbench(PlatformUI.java:93)
at org.eclipse.epsilon.workflow.tasks.eugenia.EugeniaTask.executeImpl(Eu
geniaTask.java:139)
at org.eclipse.epsilon.workflow.tasks.EpsilonTask.execute(EpsilonTask.ja
va:40)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
a:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:392)
at org.apache.tools.ant.Target.performTasks(Target.java:413)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe
cutor.java:41)
at org.eclipse.ant.internal.core.ant.EclipseDefaultExecutor.executeTarge
ts(EclipseDefaultExecutor.java:32)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRu
nner.java:672)
at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRu
nner.java:537)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.ant.core.AntRunner.run(AntRunner.java:513)
at org.eclipse.ant.core.AntRunner.start(AntRunner.java:600)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandl
e.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runAppli
cation(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Ec
lipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.ja
va:354)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.ja
va:181)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
at org.eclipse.equinox.launcher.Main.main(Main.java:1426)

Total time: 1 second
An error has occurred. See the log file
C:\Users\shrikanth_n_c\workspace\.metadata\.log.

Kindly Help!

Thanks,
Shrikanth NC
  • Attachment: .log
    (Size: 64.57KB, Downloaded 112 times)
Previous Topic:Multiline in xml
Next Topic:How to display annotations in the "Problems/Errors/Markers" view?
Goto Forum:
  


Current Time: Fri Apr 26 04:01:30 GMT 2024

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

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

Back to the top