TEI ODD Transformation fail - ant.main
-
- Posts: 3
- Joined: Wed Jan 22, 2020 2:41 am
TEI ODD Transformation fail - ant.main
Hi,
I am trying to transform an ODD TEI in to Relax NG.
However, it always fails and displays in the console ANT :
I don't know what it means. Does this have something to do with Java (jre)?
thanks, Lucas
<oXygen/> XML Editor 21.0, build 2019120214
I am trying to transform an ODD TEI in to Relax NG.
However, it always fails and displays in the console ANT :
Code: Select all
Failed to locateorg.apache.tools.ant.Main
thanks, Lucas
<oXygen/> XML Editor 21.0, build 2019120214
-
- Posts: 1016
- Joined: Wed Nov 16, 2005 11:11 am
Re: TEI ODD Transformation fail - ant.main
Post by alex_jitianu »
Hello,
Can you post the entire log from the console? The "ODD TEI in to Relax NG" transformation is an ANT transformation. We can then see which ant.jar is added in the command and if it's present or missing from your system.
Best regards,
Alex
Can you post the entire log from the console? The "ODD TEI in to Relax NG" transformation is an ANT transformation. We can then see which ant.jar is added in the command and if it's present or missing from your system.
Best regards,
Alex
-
- Posts: 3
- Joined: Wed Jan 22, 2020 2:41 am
Re: TEI ODD Transformation fail - ant.main
Hello Alex,
Sorry for the delay.
Of course, here is the entire console log report :
Regards,
Lucas
Sorry for the delay.
Of course, here is the entire console log report :
Code: Select all
Executing:
"/Applications/Oxygen XML Editor/.install4j/jre.bundle/Contents/Home/jre/bin/java" -Dapple.awt.UIElement=true -Dfile.encoding=UTF-8 -Xmx256m -classpath "/Applications/Oxygen XML Editor/tools/ant/lib/ant-launcher.jar" "-Dant.home=/Applications/Oxygen XML Editor/tools/ant" org.apache.tools.ant.launch.Launcher -lib "/Applications/Oxygen XML Editor/classes" -lib "/Applications/Oxygen XML Editor/lib/oxygenAuthor.jar" -lib "/Applications/Oxygen XML Editor/lib/oxygenDeveloper.jar" -lib "/Applications/Oxygen XML Editor/lib/oxygenEclipse.jar" -lib "/Applications/Oxygen XML Editor/lib/oxygenAuthorEclipse.jar" -lib "/Applications/Oxygen XML Editor/lib/oxygenDeveloperEclipse.jar" -lib "/Applications/Oxygen XML Editor/lib/oxygen-patched-resolver.jar" -lib "/Applications/Oxygen XML Editor/lib/oxygen-patched-xerces.jar" -lib "/Applications/Oxygen XML Editor/lib/oxygen-patched-saxon-9.jar" -lib "/Applications/Oxygen XML Editor/lib/saxon9-sql.jar" -lib "/Applications/Oxygen XML Editor/lib/saxon.jar" -lib "/Applications/Oxygen XML Editor/lib/xml-apis-ext.jar" -lib "/Applications/Oxygen XML Editor/lib/log4j.jar" -lib "/Applications/Oxygen XML Editor/lib/oxygen-basic-utilities.jar" -f "/Users/lucasterriel/Library/Preferences/com.oxygenxml/extensions/v21.1/frameworks/https___www.tei_c.org_release_oxygen_updateSite.oxygen/tei/xml/tei/stylesheet/relaxng/build-to.xml" "-DdefaultSource=file:/Users/lucasterriel/Library/Preferences/com.oxygenxml/extensions/v21.1/frameworks/https___www.tei_c.org_release_oxygen_updateSite.oxygen/tei/xml/tei/odd/p5subset.xml" "-DinputFile=/Users/lucasterriel/Desktop/Fichiers_Dev/Programation-ENC:autres/ENC-M2/Exs_XML:TEI/MRV/MRV.xml" "-Dlang=en" "-DoutputFile=/Users/lucasterriel/Desktop/Fichiers_Dev/Programation-ENC:autres/ENC-M2/Exs_XML:TEI/MRV/out/MRV.rng" "-Doxygenlib=/Applications/Oxygen XML Editor/lib" "-Dprofile=default" "-Dwebhelp.trial.license=no"
Failed to locateorg.apache.tools.ant.Main
ant.home: /Applications/Oxygen XML Editor/tools/ant
Classpath: /Applications/Oxygen XML Editor/tools/ant/lib/ant-launcher.jar:/Users/lucasterriel/Desktop/Fichiers_Dev/Programation-ENC:/Applications/Oxygen XML Editor/classes:/Users/lucasterriel/Desktop/Fichiers_Dev/Programation-ENC:/Applications/Oxygen XML Editor/lib/oxygenAuthor.jar:/Users/lucasterriel/Desktop/Fichiers_Dev/Programation-ENC:/Applications/Oxygen XML Editor/lib/oxygenDeveloper.jar:/Users/lucasterriel/Desktop/Fichiers_Dev/Programation-ENC:/Applications/Oxygen XML Editor/lib/oxygenEclipse.jar:/Users/lucasterriel/Desktop/Fichiers_Dev/Programation-ENC:/Applications/Oxygen XML Editor/lib/oxygenAuthorEclipse.jar:/Users/lucasterriel/Desktop/Fichiers_Dev/Programation-ENC:/Applications/Oxygen XML Editor/lib/oxygenDeveloperEclipse.jar:/Users/lucasterriel/Desktop/Fichiers_Dev/Programation-ENC:/Applications/Oxygen XML Editor/lib/oxygen-patched-resolver.jar:/Users/lucasterriel/Desktop/Fichiers_Dev/Programation-ENC:/Applications/Oxygen XML Editor/lib/oxygen-patched-xerces.jar:/Users/lucasterriel/Desktop/Fichiers_Dev/Programation-ENC:/Applications/Oxygen XML Editor/lib/oxygen-patched-saxon-9.jar:/Users/lucasterriel/Desktop/Fichiers_Dev/Programation-ENC:/Applications/Oxygen XML Editor/lib/saxon9-sql.jar:/Users/lucasterriel/Desktop/Fichiers_Dev/Programation-ENC:/Applications/Oxygen XML Editor/lib/saxon.jar:/Users/lucasterriel/Desktop/Fichiers_Dev/Programation-ENC:/Applications/Oxygen XML Editor/lib/xml-apis-ext.jar:/Users/lucasterriel/Desktop/Fichiers_Dev/Programation-ENC:/Applications/Oxygen XML Editor/lib/log4j.jar:/Users/lucasterriel/Desktop/Fichiers_Dev/Programation-ENC:/Applications/Oxygen XML Editor/lib/oxygen-basic-utilities.jar
Launcher JAR: /Users/lucasterriel/Desktop/Fichiers_Dev/Programation-ENC:/Applications/Oxygen XML Editor/tools/ant/lib/ant-launcher.jar
Launcher Directory: /Users/lucasterriel/Desktop/Fichiers_Dev/Programation-ENC:/Applications/Oxygen XML Editor/tools/ant/lib
The process finished with exit code: 2
Lucas
-
- Posts: 1016
- Joined: Wed Nov 16, 2005 11:11 am
Re: TEI ODD Transformation fail - ant.main
Post by alex_jitianu »
Hello Lucas,
Does it behave the same after an Oxygen restart? I've seen this before when you start Oxygen and then you move its directory in the file system.
If you take a look at "/Applications/Oxygen XML Editor/tools/ant" do you see a lib directory that contains a lot of jars, including ant.jar?
Best regards,
Alex
Does it behave the same after an Oxygen restart? I've seen this before when you start Oxygen and then you move its directory in the file system.
If you take a look at "/Applications/Oxygen XML Editor/tools/ant" do you see a lib directory that contains a lot of jars, including ant.jar?
Best regards,
Alex
-
- Posts: 3
- Joined: Wed Jan 22, 2020 2:41 am
Re: TEI ODD Transformation fail - ant.main
Hello,
I have reinstalled Oxygen three times and the error is recurring.
However, I don't really understand when you say :
Indeed, I do have a lib directory located "/ Applications / Oxygen XML Editor / tools / ant" containing many .jar files, including ant.jar
Regards,
Lucas
I have reinstalled Oxygen three times and the error is recurring.
However, I don't really understand when you say :
I don't move anything when I install Oxygen, I simply move the file "Oxygen XML Editor" to the file "Applications"then you move its directory in the file system
Indeed, I do have a lib directory located "/ Applications / Oxygen XML Editor / tools / ant" containing many .jar files, including ant.jar
Regards,
Lucas
-
- Posts: 1016
- Joined: Wed Nov 16, 2005 11:11 am
Re: TEI ODD Transformation fail - ant.main
Post by alex_jitianu »
Hello,
Best regards,
Alex
Before installing the new version, please uninstall the previous version present inside "Applications". Choosing "Replace" in the dialog that pops up when another version is detected also works. Does this change anything for the better?I don't move anything when I install Oxygen, I simply move the file "Oxygen XML Editor" to the file "Applications"
Best regards,
Alex
-
- Posts: 1016
- Joined: Wed Nov 16, 2005 11:11 am
Re: TEI ODD Transformation fail - ant.main
Post by alex_jitianu »
Hello,
Can you send us the full log on support@oxygenxml.com?
When you open the XML document, please go to Window->Show view and select the Properties view. Click inside the view adn then press Ctrl+A to select all entries and then Ctrl+C to copy the information. Attach this information to the email.
Best regards,
Alex
Can you send us the full log on support@oxygenxml.com?
When you open the XML document, please go to Window->Show view and select the Properties view. Click inside the view adn then press Ctrl+A to select all entries and then Ctrl+C to copy the information. Attach this information to the email.
Best regards,
Alex
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service