Property « Development « Java I/O Q&A





1. Ant's wrong directory on property    stackoverflow.com

I'm a newbie on Ant so instead of posting this on the official buglist(because its probably not a bug), I decided to post here: When I run my Ant build.xml file everything ...

2. Does a recursive Ant task exist to recover properties from external file?    stackoverflow.com

I ve got a problem in getting properties with ant from a properties file. With a simple target like this in my build.xml, i'd like to get at least two properties ...

3. Creating/filtering fileset from a list in a file or from a property with ant    stackoverflow.com

Let us suppose I have a file called "list-of-files.txt" with this content:

file1.txt
file2.properties
file3.class
I would like to use this content in a ant :
<fileset filelist="list-of-files.txt" />
Is it possible? Also, if I had this list ...

4. Issue writing out file path properties in ant    stackoverflow.com

Hi I'm having an issue with writing out a property which holds the value of a directory path into a property file. My script originally reads in this particular property, call it 'appserver.home', ...

5. Ant problem on build: junitvmwatcher*.properties (No such file or directory)    stackoverflow.com

For each JUnit test to be run on my full build (using Ant 1.7.0 and Java 1.5), a file junitvmwatcher[test-id].properties is created. However, it is happening some problem on this file ...

6. Ant: How to know if at least one copy task from ten copy tasks actually copied a file    stackoverflow.com


I have a target which has several copy tasks; It basically copies the common jars to our set of applications from a centralized location to the lib folder of the application.
Seeing ...

7. Set Java system properties with a configuration file    stackoverflow.com

Is it possible to initialize Java system properties using some sort of configuration file? (ie: can you set java.library.path using a file inside your jar) EDIT: Clarification: I am asking specifically about ...

8. change svn directory property on the fly with svnkit    stackoverflow.com

I need to change the value of a versioned custom property of a svn directory on the fly. I do not want to alter any content, just change the value of the ...

9. change svn file property on the fly with svnkit    stackoverflow.com

I need to change the value of a versioned custom property of a file in an svn repository on the fly. I do not want to alter any content, just change the ...





10. Resolving properties bi-directionally across two files    stackoverflow.com

Imagine I have an ant build system which loads various property files. Sometimes properties declared in one file are used in the value of properties declared in another. For example:

File 1:
java.version=1.6

File ...

11. Why doesn't JavaBeans serialize a property from type List?    stackoverflow.com

I'm trying to do some simple XML serialization with JavaBeans, with an object having five getter/setter properties, and two getters. These two are from type List<...> :

public List<MasterDataQueryMDType> getType() {
 ...

12. How to get the list of drives & file Properties[urgent]    coderanch.com

How to get the list of drives in a machine.I want to diplay the list of drives [with drive label & size ] and then the list of files & directories [with size & no. of files] by double-clicking the drive.I want to display the file_size, date_created,last_modified_date,permissions such as read_only, hidden etc. Please send me some code.Reply as soon as possible.[urgent] ...

14. Active Directory accountExpires and pwdLastSet property using JAVA    forums.oracle.com

Hi all! Im trying to transform the accountExpires and pwdLastSet property retrieved from Active Directory to a Date/Time object. The value returned is a weird long integer that cant be converted. Does anyone know something about this? Im using Java 2 SDK 1.4.2. I am trying to do the above for accountExpires and pwdLastSet attributes in AD Thanks