Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Ant Build import( I want to import a part of an xml to another in the build)
Ant Build import [message #1833876] Mon, 26 October 2020 17:56 Go to next message
Matheus Neves Oliveira is currently offline Matheus Neves OliveiraFriend
Messages: 1
Registered: October 2020
Junior Member
I have the following configuration
<delete dir="${dir.jarfile}/lib"/>
        <mkdir dir="${dir.jarfile}/lib"/>
        <delete dir="${dir.jarfile}/libtop"/>
        <mkdir dir="${dir.jarfile}/libtop"/>
        <copy file="${dir.workspace}/libspadraofx/TopBusiness.jar" todir="${dir.jarfile}"/>
        <copy file="${dir.workspace}/libspadraofx/libtop/CoreModule.jar" todir="${dir.jarfile}/libtop"/>
        <copy file="${dir.workspace}/libspadraofx/libtop/Fiscal.jar" todir="${dir.jarfile}/libtop"/>
        <copy file="${dir.workspace}/libspadraofx/libtop/JComum.jar" todir="${dir.jarfile}/libtop"/>
        <copy file="${dir.workspace}/libspadraofx/libtop/KeyTop.jar" todir="${dir.jarfile}/libtop"/>
        <copy file="${dir.workspace}/libspadraofx/libtop/TopBuscas.jar" todir="${dir.jarfile}/libtop"/>
        <copy file="${dir.workspace}/libspadraofx/libtop/TopCalenderfx.jar" todir="${dir.jarfile}/libtop"/>
        <copy file="${dir.workspace}/libspadraofx/libtop/TopLoginFx.jar" todir="${dir.jarfile}/libtop"/>
        <copy file="${dir.workspace}/libspadraofx/libtop/TopData.jar" todir="${dir.jarfile}/libtop"/>
        <copy file="${dir.workspace}/libspadraofx/libtop/TopComponentsFx.jar" todir="${dir.jarfile}/libtop"/>
        <copy file="${dir.workspace}/libspadraofx/libtop/TopIcones.jar" todir="${dir.jarfile}/libtop"/>
        <copy file="${dir.workspace}/libspadraofx/libtop/jTopDevFX.jar" todir="${dir.jarfile}/libtop"/>
        <copy file="${dir.workspace}/libspadraofx/lib/CleanWindowFX.jar" todir="${dir.jarfile}/lib"/>
        <copy file="${dir.workspace}/libspadraofx/lib/controlsfx-8.40.14.jar" todir="${dir.jarfile}/lib"/>
        <copy file="${dir.workspace}/libspadraofx/lib/jandex-2.0.5.Final.jar" todir="${dir.jarfile}/lib"/>
        <copy file="${dir.workspace}/libspadraofx/lib/jasperreports-6.7.1.jar" todir="${dir.jarfile}/lib"/>
        <copy file="${dir.workspace}/libspadraofx/lib/java-json.jar" todir="${dir.jarfile}/lib"/>
        <copy file="${dir.workspace}/libspadraofx/lib/javassist-3.24.0-GA.jar" todir="${dir.jarfile}/lib"/>
        <copy file="${dir.workspace}/libspadraofx/lib/jna-3.0.9.jar" todir="${dir.jarfile}/lib"/>
        <copy file="${dir.workspace}/libspadraofx/lib/jsoup-1.10.3.jar" todir="${dir.jarfile}/lib"/>
        <copy file="${dir.workspace}/libspadraofx/lib/nfe.jar" todir="${dir.jarfile}/lib"/>


This setting is standard for all my programs
I would like to create an XML with these settings and it matters for the build of the desired project
Re: Ant Build import [message #1833889 is a reply to message #1833876] Tue, 27 October 2020 05:45 Go to previous message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7096
Registered: July 2009
Senior Member
Hi

The text already uses <../> and x="..." so it is already XML formatted, just needs an "<?xml version="1.0" encoding="UTF-8"?>" prolog to be pasted. and a wrapping root element with namespace declarations.

Regards

Ed Willink
Previous Topic:Android/iOS view
Next Topic:eclipse - error
Goto Forum:
  


Current Time: Wed Apr 14 08:11:00 GMT 2021

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

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

Back to the top