473,398 Members | 2,525 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

how can i set specific order of jar in ant build

Ant Build:
When i run my program then an exception comes
edu.stanford.nlp.parser.lexparser

Expand|Select|Wrap|Line Numbers
  1. <?xml version="1.0" encoding="iso-8859-1" standalone="no"?> 
  2. <project name="sentiment" default="create_run_jar" basedir="."> 
  3. <path id="project-classpath"> <pathelement path="lib"/> <fileset dir="lib">
  4. <include name="stanford-postagger.jar"/>
  5. </fileset> 
  6. <fileset dir="lib">
  7. <include name="stanford-parser-2010-02-26.jar"/></fileset> 
  8. <fileset dir="D:lib">
  9. <include name="*.jar"/>
  10.  <exclude name="stanford-postagger.jar"  /> 
  11. <exclude name="stanford-parser-2010-02-26.jar"  /> </fileset> 
  12. </path> 
  13. <target name="compile" > 
  14. <javac srcdir="src" destdir="bin" classpathref="project-classpath"   includeantruntime="true"/> 
  15. </target>
  16.  </project>


Have have two jar and first one should come first and after another but it didn't work
Mar 28 '14 #1
0 1204

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: KatB | last post by:
Hi, Is it possible, and how?, to append a child element into a specific order. For example: <stations> <station name="one"/> <station name="three"/> <station name="four"/> </stations>
8
by: clintonG | last post by:
Could someone provide me with a URL documenting the specific order of exceptions? -- <%= Clinton Gallagher A/E/C Consulting, Web Design, e-Commerce Software Development Wauwatosa, Milwaukee...
8
by: Antoon Pardon | last post by:
I have used unit tests now for a number of project. One thing that I dislike is it that the order in which the tests are done bears no relationship to the order they appear in the source. ...
1
by: mrmagoo | last post by:
Is it possible to view enum values in the order that I have defined them? Public Enum Size Small Medium Large Biggest End Enum I love Enums because they make my life easier, but, because...
8
by: spohle | last post by:
hi i have a normal dictionary with key and value pairs. now i wanna sort by the keys BUT in a specific order i determine in a list !? any ideas dic = {'key1':'value1', 'key2':'value2',...
1
by: Matt Fielder | last post by:
I need to customize the build process beyond just selecting which projects get built in what order. What I want to happen is when I select "Release" 1: Pop a dialog confirming I want to build...
3
by: Hartmut Dippon | last post by:
Hi all, I hope somebody can help me with following problem: I have an application where I can drag&drop files/dirs from within explorer onto my form. If multiple files/dirs are selected I...
1
by: meettapan | last post by:
Anyone please suggest me that......... When we send multiple PDF documents from a loop for printing using Process class, the printing is not taking place in the order of documents created. ...
1
by: Achtland | last post by:
Hi all, I'm rather new to XSL (and this forum) and have searched everywhere to find out how to order the output of XML to text using XSLT but haven't found the answer. The XML is similar to...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.