Sponsored Content
Full Discussion: How to override Classpath?
Top Forums Shell Programming and Scripting How to override Classpath? Post 302777595 by Scrutinizer on Friday 8th of March 2013 07:07:23 AM
Old 03-08-2013
Could you post what how CLASSPATH gets set in /tmp/wls103/server/bin/setWLSEnv.sh ?
 

10 More Discussions You Might Find Interesting

1. IP Networking

Override

Hi My computer of late started misbehaving. Whenever I switch it on It say Override and then it takes long to boot. Surprising is that it opens excel automatic. What could be that? (1 Reply)
Discussion started by: Mulo
1 Replies

2. Shell Programming and Scripting

how to set classpath in cron

i have written shell script that script has path to java programwhen irun this script in terminal i get the output but when irun in cron it gives me eror.plz send me code to set classpath #! /bin/bash javac Copy.java /usr/bin/java Copy plz help me out how should i write classpath... (1 Reply)
Discussion started by: sari
1 Replies

3. UNIX for Dummies Questions & Answers

Classpath

This question is realted to UNIX and Java. I sing in to a UNIX server and I want to change my CLASSPATH locally, so it won't affect any other users CLASSPATHS. Is the command 'export PATH=...' the way to do it? Thanks. Duplicate post (0 Replies)
Discussion started by: Rachel Ross
0 Replies

4. Programming

Classpath

This question is realted to UNIX and Java. I sing in to a UNIX server and I want to change my CLASSPATH locally, so it won't affect any other users CLASSPATHS. Is the command 'export PATH=...' the way to do it? Thanks. (4 Replies)
Discussion started by: Rachel Ross
4 Replies

5. Programming

regarding classpath java

Hi, I have a below command.... $JAVA_HOME/bin/java -cp "/usr/orabase/product/10.2.0/lib:/usr/java/javajar/common/sched.jar:/usr/orabase/product/10.2.0/jdbc/lib/ojdbc14_g.jar:/usr/orabase/product/10.2.0/jdbc/lib/classes12.jar" com.abrt.smart.Smart I want to know where the Smart.class is... (1 Reply)
Discussion started by: PRKS
1 Replies

6. Web Development

Servlet CLASSPATH for Apache

Hi All, I'm trying to play around with Java Servlets. I have a apache web server running on Solaris. And I'm trying to understand which file I add the JAVA CLASSPATH too so that when apache starts up it will have access to mysql interface libraries etc. Could some one please tell me? ... (0 Replies)
Discussion started by: fishman2001
0 Replies

7. Programming

set javac classpath

I have several jar files in a specific folder, but I can't get javac to understand it. How do I set the classpath for javac. It is NOT the same classpath as the java command. And it's not enough with one jar file. I have several. (1 Reply)
Discussion started by: locoroco
1 Replies

8. Programming

Classpath of JAVA

Hello, ABC question as I could not get a direct answer: How to locate the default IO class of JAVA? My question was triggered by the row in most java programimport java.io.* as I am very curious where the io class is located in my Mint14 (Ubuntu12.10). I am aware it is similar to use DBI in PERL,... (1 Reply)
Discussion started by: yifangt
1 Replies

9. UNIX for Advanced & Expert Users

Fedora java classpath

What is the proper way to set your java classpath? (0 Replies)
Discussion started by: cokedude
0 Replies

10. Solaris

CLASSPATH Issue in SunOS

Hi Friends I need to add path to CLASSPATH in weblogic start OS is SunOS dcuatapp04 5.11 11.3 sun4v sparc sun4v I follow instructions given in below link. but even startup log shows the new path it does not load the jar file. how can i fix this Oracle WebLogic Server 12.1.3 Developer... (6 Replies)
Discussion started by: ded325
6 Replies
build.xml(5)							File Formats Manual						      build.xml(5)

NAME
build.xml - configuration file used by ant to build projects DESCRIPTION
The file build.xml is the default configuration file used by ant to determine target to build for a specific project. It can be considered the ant equivalent of Makefile.. The format of ant is XML and for each project a seperate file is constructed. The buildfile consists of one or more tasks. An example is given below. <project default="compile"> <target name="compile"> <javac srcdir="src"> </target> </project> This example has one target and it is defaulted. The target itself consists of one task javac which compiles the files in the src direc- tory. TARGETS
Targets can depend on other targets. These dependencies are given by the depends attribute of the <target> element. TASKS
A task is a piece of code that is executed. Ant recognizes built-in task, optional tasks, but one can also write new tasks. Built-in tasks The built-in tasks are: Ant, AntCall, AntStructure, Apply, Available, Chmod, Copy, Cvs, Delete, Deltree, Echo, Exec, ExecOn, Fail, Filter, FixCRLF, GenKey, Get, GUnzip, GZip, Jar, Java, Javac, Javadoc/Javadoc2, Mail, Mkdir, Move, Patch, Property, Replace, Rmic, SignJar, Sql, Style, Tar, Taskdef, Touch, TStamp, Unjar, Untar, Unwar, Unzip, Uptodate, War, Zip Java Executes a Java class within the running (Ant) VM or forks another VM if specified. Below are some of the attibutes to the <java> element: classname (required) the Java class to execute fork if enabled triggers the class execution in another VM (disabled by default) jvm the command used to invoke the Java Virtual Machine, default is java. The command is resolved by java.lang.Runtime.exec(). Ignored if fork is disabled. Other arguments are classpath, classpathref, maxmemory, failonerror, dir and output. Javac Compiles a source tree within the running (Ant) VM. srcdir (required) location of the java files destdir location to store the class files debug indicates whether source should be compiled with debug information; defaults to off optimize indicates whether source should be compiled with optimization; defaults to off target generate class files for specific VM version (e.g., 1.1 or 1.2). includes comma-separated list of patterns of files that must be included; all files are included when omitted excludes comma-separated list of patterns of files that must be excluded; no files (except default excludes) are excluded when omit- ted. defaultexcludes indicates whether default excludes should be used (yes | no); default excludes are used when omitted. Other arguments are includesfile, excludesfile, classpath, bootclasspath, classpathref, bootclasspathref, extdirs, encoding, depre- cation, verbose, includeAntRuntime, includeJavaRuntime and failonerror. Properties A project can have a set of properties, which consist of a name value combination. Within tasks they can be used by placing them between "${" and "}", as in "${builddir}/classes". Built-in Properties Ant provides access to all system properties as if they had been defined using a <property> task. For example, ${os.name} expands to the name of the operating system. basedir the absolute path of the project's basedir (as set with the basedir attribute of <project>). ant.file the absolute path of the buildfile. ant.project.name the name of the project that is currently executing; it is set in the name attribute of <project>. ant.java.version the JVM version Ant detected; currently it can hold the values "1.1", "1.2" and "1.3". Classpath The classpath can be set by using the <classpath> element: <classpath> <pathelement path="${classpath}"/> <pathelement location="lib/helper.jar"/> <fileset dir="lib"> <include name="**/*.jar"/> </fileset> </classpath> SEE ALSO
ant(1) AUTHOR
This manpage is made by Egon Willighagen <egonw@sci.kun.nl> and based on the Ant Manual <http://jakarta.apache.org/ant/manual/>. Mac OS X September 22, 2004 build.xml(5)
All times are GMT -4. The time now is 08:54 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy