Where to find Icontract.jar for building ANT

2006-04-03 Thread Krithivasan, Balasubramaniyan (STSD)


Hi

According to the URL,
http://ant.apache.org/manual/install.html#librarydependencies ,
Icontract.jar is a dependent library & can be obtained from
http://www.reliable-systems.com/tools/.

However, it looks like the site has been moved & we are not able to
obtain the Icontract.jar. Can you please let me know how to find the
Icontract.jar ?


Thanks,
Bala 

 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 39183] - Make source attribute of javac mandatory

2006-04-03 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39183





--- Additional Comments From [EMAIL PROTECTED]  2006-04-03 21:43 ---
>aah, but  changes the type of teh return of
>project.createTask("javac"), which could toast any custom task that assumed it
>was castable. 

It is  problem (or feature) that can be fixed. There is no reason for
 to change task implementation class, instead project.createTask()
should set default values (maybe set by external properties or ).

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 39183] - Make source attribute of javac mandatory

2006-04-03 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39183





--- Additional Comments From [EMAIL PROTECTED]  2006-04-03 21:24 ---
aah, but  changes the type of teh return of
project.createTask("javac"), which could toast any custom task that assumed it
was castable. 

A property would let us fix everything on gump that is broken

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 39189] - should permit selection of alternate executable

2006-04-03 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39189





--- Additional Comments From [EMAIL PROTECTED]  2006-04-03 21:23 ---
oh, that is a scary bug. The underlying problem is

"windows vista hates running unsigned executables and brings up prompts 
instead". 

We are only seeing the beginning of the problem here. I don't see why we
shouldnt let you define a new executable, but this is tweaking a symptom of a
bigger problem

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 36901] - [PATCH] optional task PropertyFile should retain comments and layout of properties file

2006-04-03 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36901





--- Additional Comments From [EMAIL PROTECTED]  2006-04-03 20:01 ---
Not a problem... it's your report, so it only hurts you if it gets lost... ;)

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 36901] - [PATCH] optional task PropertyFile should retain comments and layout of properties file

2006-04-03 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36901


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |




--- Additional Comments From [EMAIL PROTECTED]  2006-04-03 19:29 ---
(In reply to comment #7)
> hmm... why RESOLVED FIXED?  I don't recall anyone having applied this 
patch...
> (I could have missed it though).

This is my misunderstanding of the status/resolution fields. I had looked at 
the bug recently, and noticed that I had not moved it on from 'new'. I moved 
it on to 'resolved' to communicate that the patch is complete. I did not mean 
to suggest that it has been applied.

I'm guessing that the correct action then is to 'reopen' it, which I have now 
done.

Sorry about this.



-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 39189] New: - should permit selection of alternate executable

2006-04-03 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39189

   Summary:  should permit selection of alternate
executable
   Product: Ant
   Version: 1.6.5
  Platform: All
OS/Version: All
Status: NEW
  Severity: normal
  Priority: P2
 Component: Core tasks
AssignedTo: dev@ant.apache.org
ReportedBy: [EMAIL PROTECTED]


Most tasks wrapping JDK command-line tools default to using the tool found in
the same JDK as Ant is running in, but permit this to be overridden e.g. with an
explicit 'executable' attr. This is missing for .

Discovered since it appears the JDK 1.5.0_06 signjar is broken on Windows Vista:

http://www.netbeans.org/issues/show_bug.cgi?id=73487
http://www.netbeans.org/issues/show_bug.cgi?id=74300

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r391068 - /ant/core/trunk/WHATSNEW

2006-04-03 Thread mbenson
Author: mbenson
Date: Mon Apr  3 08:21:13 2006
New Revision: 391068

URL: http://svn.apache.org/viewcvs?rev=391068&view=rev
Log:
sp

Modified:
ant/core/trunk/WHATSNEW

Modified: ant/core/trunk/WHATSNEW
URL: 
http://svn.apache.org/viewcvs/ant/core/trunk/WHATSNEW?rev=391068&r1=391067&r2=391068&view=diff
==
--- ant/core/trunk/WHATSNEW (original)
+++ ant/core/trunk/WHATSNEW Mon Apr  3 08:21:13 2006
@@ -87,7 +87,7 @@
 
 * Problem when adding multiple filter files, Bugzilla Report 37341
 
-* problem referencing jars specfied by Class-Path attribute in manifest
+* problem referencing jars specified by Class-Path attribute in manifest
   of a ant task jar file, when this ant task jar file is located in
   a directory with space, Bugzilla Report 37085 
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



svn commit: r391056 - /ant/core/trunk/WHATSNEW

2006-04-03 Thread mbenson
Author: mbenson
Date: Mon Apr  3 07:46:54 2006
New Revision: 391056

URL: http://svn.apache.org/viewcvs?rev=391056&view=rev
Log:
sp

Modified:
ant/core/trunk/WHATSNEW

Modified: ant/core/trunk/WHATSNEW
URL: 
http://svn.apache.org/viewcvs/ant/core/trunk/WHATSNEW?rev=391056&r1=391055&r2=391056&view=diff
==
--- ant/core/trunk/WHATSNEW (original)
+++ ant/core/trunk/WHATSNEW Mon Apr  3 07:46:54 2006
@@ -87,7 +87,7 @@
 
 * Problem when adding multiple filter files, Bugzilla Report 37341
 
-* problem refering jars specfied by Class-Path attribute in manifest
+* problem referencing jars specfied by Class-Path attribute in manifest
   of a ant task jar file, when this ant task jar file is located in
   a directory with space, Bugzilla Report 37085 
 
@@ -168,10 +168,10 @@
 *  was crashing with CVS versions >= 1.12.x due to change in
   the date format. Bugzilla report 30962.
 
-* The same IntrospectionHelper instance was contineously added as a listener
+* The same IntrospectionHelper instance was continuously added as a listener
   to project. Bugzilla report 37184.
 
-* FileUtils.toURI() was not encoding non ASCII characters to ASCII,
+* FileUtils.toURI() was not encoding non-ASCII characters to ASCII,
   causing impossibility to process XML entities referenced by XML
   documents in non ASCII paths. Bugzilla report 37348.
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[Ant Wiki] Update of "Ant17/Planning" by MattBenson

2006-04-03 Thread Apache Wiki
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Ant Wiki" for change 
notification.

The following page has been changed by MattBenson:
http://wiki.apache.org/ant/Ant17/Planning

--
  
  These are the features that hold the build; fallbacks to be listed. To add 
something here you must be prepared to implement it, or know someone who is. 
Everything needs a name.
  
-  * SVN support by exec [stefan]
+  * SVN support by exec [stefan] (considered done w/ svn antlib? -MJB)
   * Local variables in macrodef
   * Fix for key IDE bugs (see eclipse, netbeans bugzillas) [all]
-  * flatten in libraries to WAR/EAR somehow (related to ) [stevel?]
+  * flatten in libraries to WAR/EAR somehow (related to ) [stevel?] 
(libraries status? -MJB)
-  *  to allow adding of jars to the current classloader (would 
solve a ''lot'' of problems at the cost of some issues) 
http://issues.apache.org/bugzilla/show_bug.cgi?id=28228 [peter]
+  *  to allow adding of jars to the current classloader (would 
solve a ''lot'' of problems at the cost of some issues) 
http://issues.apache.org/bugzilla/show_bug.cgi?id=28228 [peter] (status RE 
"some issues" risk? -MJB)
  
  === ''Must Have'' Features Implemented ===
  
@@ -44, +44 @@

  
  Less critical, but still nice. Adding here is also a statement of intent.
  
-  * Java1.5 environment fetching. Ideally as part of a rework of 
Execute.getProcessEnv()
+  * Java1.5 environment fetching. Ideally as part of a rework of 
Execute.getProcessEnv() (if we plan to retrofit commons-exec in source after it 
stabilizes, maybe we should forego this at present? -MJB)
   * Doc improvements.
   *  in java tasks for loading properties straight from a file.
   * reduce number of outstanding bugzilla ''bugs'' by fixing them or declaring 
WONTFIX/Invalid.
   * reduce number of outstanding bugzilla ''enhancements'' by implementing 
some, or closing them off.
-  * include fetch.xml in redist package and integrate w/ maven2 artifacts
+  * include fetch.xml in redist package and integrate w/ maven2 artifacts 
(done? -MJB)
-  * retrofit Resource Collections to remaining appropriate tasks (mbenson)
  
  === ''Want'' Features Implemented ===
  
   * improve diagnostics when something like  wont instantiate. i.e. 
distinguish "class not found" from "class not loadable" and explain why the 
difference. Maybe allow for per-task diagnostics text through a static member 
function, or extra markup in the taskdef.
-  * add Resource Collections (for arbitrary groups of file-like Resources); 
some tasks adapted.
+  * add Resource Collections (for arbitrary groups of file-like Resources); 
tasks adapted (thanks Stefan).
  
  == ''Like'' Features ==
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 39183] - Make source attribute of javac mandatory

2006-04-03 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39183





--- Additional Comments From [EMAIL PROTECTED]  2006-04-03 15:34 ---
A simple  or  with  (if you do not want to modify
original build file) can solve this issue. All conversation about internal
secret properties is about emulating  with property files. I think it
is useful - it would be externally configurable, but a solution is already
available.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 36901] - [PATCH] optional task PropertyFile should retain comments and layout of properties file

2006-04-03 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36901





--- Additional Comments From [EMAIL PROTECTED]  2006-04-03 15:34 ---
hmm... why RESOLVED FIXED?  I don't recall anyone having applied this patch...
(I could have missed it though).

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 39183] - Make source attribute of javac mandatory

2006-04-03 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39183





--- Additional Comments From [EMAIL PROTECTED]  2006-04-03 15:22 ---
The source attribute is documented with this (bolded) warning:

Note that the default value depends on the JVM that is running Ant. We highly
recommend to always specify this attribute.

If users choose to ignore this warning in the documentation, I don't know that I
can see the point of noising up builds in addition.  :|  I would be -0 on such a
runtime warning.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 39186] New: - SSHExec task: output disappears

2006-04-03 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39186

   Summary: SSHExec task: output disappears
   Product: Ant
   Version: 1.6.5
  Platform: Other
OS/Version: other
Status: NEW
  Severity: normal
  Priority: P2
 Component: Optional Tasks
AssignedTo: dev@ant.apache.org
ReportedBy: [EMAIL PROTECTED]


The output of a remotely executed command does not appear reliably. It seems as 
if only the first usage of sshexec within a built logs the output of the remote 
command.

The following build file part reveals the error:




echo "Output to stdout" 
echo "Output to stderr" 2>&1








 


The output of this build target is:

sshExecOrgStdoutStderr:
  [sshexec] Connecting to host:22
  [sshexec] Output to stdout
  [sshexec] Output to stderr
 [echo] Stdout/stderr: Output to stdout
 [echo] Output to stderr
  [sshexec] Connecting to host:22
 [echo] Stdout/stderr: Output to stdout
 [echo] Output to stderr

The lines   
[sshexec] Output to stdout
[sshexec] Output to stderr
should also appear for the second call to sshexec. The outputProperty is not 
affected.

Here is a patch which uses the LogOutputStream in order to solve the issue.

--- SSHExecMod.java 31 Mar 2006 07:25:55 -  1.2
+++ SSHExecMod.java 3 Apr 2006 10:54:50 -
@@ -25,10 +25,13 @@
 import java.io.FileWriter;
 import java.io.IOException;
 import java.io.InputStream;
+import java.io.OutputStreamWriter;
+import java.io.PrintStream;
 import java.io.StringReader;
 
 import org.apache.tools.ant.BuildException;
 import org.apache.tools.ant.Project;
+import org.apache.tools.ant.taskdefs.LogOutputStream;
 import org.apache.tools.ant.taskdefs.optional.ssh.SSHBase;
 import org.apache.tools.ant.util.TeeOutputStream;
 
@@ -166,7 +169,7 @@
 }
 
 ByteArrayOutputStream out = new ByteArrayOutputStream();
-TeeOutputStream tee = new TeeOutputStream(out, System.out);
+TeeOutputStream tee = new TeeOutputStream(out, new LogOutputStream
(this, Project.MSG_INFO));
 
 InputStream istream = null ;
 if (this.inputFile != null) {
@@ -192,7 +195,7 @@
 final ChannelExec channel = (ChannelExec) session.openChannel
("exec");
 channel.setCommand(command);
 channel.setOutputStream(tee);
-channel.setExtOutputStream(tee);
+channel.setExtOutputStream(new TeeOutputStream(out, new 
LogOutputStream(this, Project.MSG_ERR)));
 channel.setInputStream(istream) ;
 channel.connect();

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 39183] - Make source attribute of javac mandatory

2006-04-03 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39183





--- Additional Comments From [EMAIL PROTECTED]  2006-04-03 08:35 ---
Guess this ant._internal.javac.source property could work to get arround all
those broken packages. As I understand this breaking apps issue: What about
issuing a warning, if "source" is not set? Don't care that much about "target"
as it is implied by "source".

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]