DFS 23.4 Services fail to build
niomeda
Member
Hello,
I am trying to build DFS Services to version 23.4 and it fails. We had DFS Services on version 7.3 and we are upgrading them. We updated the java version to 17 and resolved some issues that we had. The code builds and our tests run fine. The issue is that when I run the build.xml, it fails with the error:
C:\Users\user\IdeaProjects\dfs-23.4-app\build.xml:528: The following error occurred while executing this line:
C:\Users\user\IdeaProjects\dfs-23.4-app\build.xml:133: Generation of model file failed.
at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:582)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:440)
at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:106)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:299)
at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
at org.apache.tools.ant.Task.perform(Task.java:350)
at org.apache.tools.ant.Target.execute(Target.java:449)
at org.apache.tools.ant.Target.performTasks(Target.java:470)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1401)
at org.apache.tools.ant.Project.executeTarget(Project.java:1374)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1264)
at org.apache.tools.ant.Main.runBuild(Main.java:818)
at org.apache.tools.ant.Main.startAnt(Main.java:223)
at org.apache.tools.ant.Main.start(Main.java:190)
at org.apache.tools.ant.Main.main(Main.java:274)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at com.intellij.rt.ant.execution.AntMain2.main(AntMain2.java:31)
Caused by: C:\Users\niyaz\IdeaProjects\eurobank-lux-ws\build.xml:133: Generation of model file failed.
at com.emc.documentum.fs.tools.GenerateModelTask.executeTask(GenerateModelTask.java:93)
at com.emc.documentum.fs.tools.impl.ChainedExceptionReportingTask.execute(ChainedExceptionReportingTask.java:17)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:299)
at jdk.internal.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
at org.apache.tools.ant.Task.perform(Task.java:350)
at org.apache.tools.ant.Target.execute(Target.java:449)
at org.apache.tools.ant.Target.performTasks(Target.java:470)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1401)
at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:36)
at org.apache.tools.ant.Project.executeTargets(Project.java:1264)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:437)
... 22 more
Caused by: com.emc.documentum.fs.tools.ServiceCreationException: Generation of model file failed.
at com.emc.documentum.fs.tools.impl.DependencyGenerateModelTask.execute(DependencyGenerateModelTask.java:72)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at com.emc.documentum.fs.tools.GenerateModelTask.executeTask(GenerateModelTask.java:89)
... 35 more
Caused by: com.emc.documentum.fs.tools.ServiceCreationException: Failed to generate model file due to an APT execution error. "{0}"
at com.emc.documentum.fs.tools.impl.artifact.dfs.ServiceModelGenerator.generate(ServiceModelGenerator.java:123)
at com.emc.documentum.fs.tools.impl.DependencyGenerateModelTask.execute(DependencyGenerateModelTask.java:67)
... 40 more
Caused by: com.emc.documentum.fs.rt.impl.servicemodel.ServiceModelException: APT has returned the following errors:
at com.emc.documentum.fs.tools.impl.artifact.dfs.ServiceModelGenerator.runAPT(ServiceModelGenerator.java:177)
at com.emc.documentum.fs.tools.impl.artifact.dfs.ServiceModelGenerator.generate(ServiceModelGenerator.java:118)
... 41 more
Line 528: <antcall target="artifacts"/>
Lines 117 - 164:
<target name="artifacts">
<property name="service.target.dir" value="${project.artifacts.folder}"/>
<delete quiet="true">
<fileset dir="${project.artifacts.folder}" excludes=".svn/, _svn/"/>
</delete>
<mkdir dir="${project.artifacts.folder}/src"/>
<delete>
<fileset dir="${project.artifacts.folder}/src" excludes=".svn/, _svn"/>
</delete>
<generateModel contextRoot="${context.root}"
moduleName="${module.name}"
Line 133: destdir="${project.artifacts.folder}/src">
<services>
<fileset dir="${src.dir}">
<include name="**/*.java"/>
</fileset>
</services>
<classpath>
<path refid="project.classpath"/>
</classpath>
</generateModel>
<generateArtifacts serviceModel="${project.artifacts.folder}/src/${context.root}-${module.name}-service-model.xml"
destdir="${project.artifacts.folder}/src"
wsdldestdir="${project.resources.folder}">
<src location="${src.dir}"/>
<classpath>
<path location="${basedir}/${build.folder}/classes"/>
<path location="${dfs.sdk.libs}/emc-dfs-rt.jar"/>
<path location="${dfs.sdk.libs}/emc-dfs-services.jar"/>
<pathelement location="${dfs.sdk.libs}/dfc/dfc.jar"/>
<!-- Insert custom jars here -->
<fileset refid="dfs.extra.jars"/>
<fileset dir="${dfs.sdk.libs}/ucf">
<include name="**/*.jar"/>
</fileset>
<path refid="project.classpath"/>
</classpath>
</generateArtifacts>
</target>
Can you please help me?
Kind regards
Tagged:
0
Comments
-
u might log this one at support.opentext.com.
—
Kyle Pettit
Documentum D2 Product manager0
Categories
- All Categories
- 122 Developer Announcements
- 53 Articles
- 150 General Questions
- 147 Thrust Services
- 56 OpenText Hackathon
- 37 Developer Tools
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 917 Cloud Fax and Notifications
- 84 Digital Asset Management
- 9.4K Documentum
- 31 eDOCS
- 184 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 7 XM Fax
- Follow Categories