krysalis-version/src/ant/org/krysalis/version/ant/environment EnvironmentTask.java,1.15,1.16

[email protected]
Newsgroups gmane.comp.krysalis.cvs
Message-ID <[email protected]>
Update of /cvsroot/krysalis/krysalis-version/src/ant/org/krysalis/version/ant/environment
In directory sc8-pr-cvs1:/tmp/cvs-serv6646/src/ant/org/krysalis/version/ant/environment

Modified Files:
	EnvironmentTask.java 
Log Message:
Start on environment analysis (comparison against a fixed base)

Index: EnvironmentTask.java
===================================================================
RCS file: /cvsroot/krysalis/krysalis-version/src/ant/org/krysalis/version/ant/environment/EnvironmentTask.java,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** EnvironmentTask.java	22 Oct 2003 01:47:10 -0000	1.15
--- EnvironmentTask.java	2 Nov 2003 22:11:12 -0000	1.16
***************
*** 56,59 ****
--- 56,60 ----
  package org.krysalis.version.ant.environment;
  
+ import java.io.File;
  import java.io.FileOutputStream;
  import java.io.IOException;
***************
*** 93,97 ****
  	private boolean m_annotated = false;
  	private int m_displayWidth = 50;
! 	private String m_filename = "version-environment.xml";
  
  	//:TODO: Option to ignore JVM entries (e.g. sun.*, org.w3c., java.*)
--- 94,98 ----
  	private boolean m_annotated = false;
  	private int m_displayWidth = 50;
! 	private File m_output = new File("version-environment.xml");
  
  	//:TODO: Option to ignore JVM entries (e.g. sun.*, org.w3c., java.*)
***************
*** 327,331 ****
  
  		DOMElementWriter writer = new DOMElementWriter();
! 		OutputStream out = new FileOutputStream(m_filename);
  		writer.write(doc.getDocumentElement(), out);
  		out.flush();
--- 328,332 ----
  
  		DOMElementWriter writer = new DOMElementWriter();
! 		OutputStream out = new FileOutputStream(m_output);
  		writer.write(doc.getDocumentElement(), out);
  		out.flush();
***************
*** 351,356 ****
  	 * @return
  	 */
! 	public String getFilename() {
! 		return m_filename;
  	}
  
--- 352,357 ----
  	 * @return
  	 */
! 	public File getOutput() {
! 		return m_output;
  	}
  
***************
*** 365,370 ****
  	 * @param string
  	 */
! 	public void setFilename(String string) {
! 		m_filename = string;
  	}
  
--- 366,371 ----
  	 * @param string
  	 */
! 	public void setOutput(File o) {
! 		m_output = o;
  	}
  




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.