Ritzmann, Heiko | 1 Nov 2002 08:22

AW: Using ftp task with ant 1.5.1

I'm sure it woks with ant 1.5.1. Do you have the netcomponents.jar
(www.savarese.org/oro/downloads) in your classpath?

	<target name="putReleaseZipToServer" depends="zipRelease">
        <ftp server="${WebServer}"
             userid="${WebTomcatLogin}"
             password="${WebTomcatPassword}"
             remotedir="${TomcatName}">
            <fileset dir="${ReleaseDirectory}">
                  <include name="release_${ReleaseNumber}.zip"/>
            </fileset>
        </ftp>
	</target>

Heiko Ritzmann
Software Development
GODYO AG
Prüssingstraße 35
D-07745 Jena

e-mail: heiko.ritzmann <at> godyo.com
Achtung neue Telefonnummer !!!
Telefon: +49 36 41 2 87-1 27
Telefax: +49 36 41 2 87-2 87
Internet: www.godyo.com

-----Ursprüngliche Nachricht-----
Von: Eduardo Andrés Alfonso Sierra [mailto:edalfon <at> lycos.co.uk]
Gesendet: Donnerstag, 31. Oktober 2002 04:20
An: Ant Users List
(Continue reading)

Uma Maheswar | 1 Nov 2002 09:29

Is installing possible in Ant

Hi,
I have downloaded jakarta-ant-1.5.1-bin.zip folder from the site. I have unpacked them to c:\ and found
the following files

FOLDERS
bin
docs
lib
etc

FILES
KEYS
LICENSE
LICENSE.dom
LICENSE.sax
LICENSE.xerces
README
WHATSNEW
welcome.html

There is nothing like installation file available. How can I install then? 

I have set in the environment variable like "ANT_HOME=c:\jakarta-ant-1.5.1". When I type "ant
converter" to compile my files, I get that ant is not recognised command. I am using Windows XP Pro, Please
guide me. If this is wrong installation, then what is the correct file that I need to get.

Thanks
Uma
http://www.javagalaxy.com

(Continue reading)

Keith Hatton | 1 Nov 2002 09:49

RE: JUnitReport - more info to display?

I agree about what's important - but in reality, my cynicism kicks in, and the project manager suddenly
wants to see "Unit Test Reports" (like, I thought, unit testing was checking that your code met the design
at a fine-grained level, so what is there to report if it works?).

It's just that I don't see the value (to anyone other than the developer) of a list of test methods and the word
"passed" next to them. Surely you need to understand what each test case was to get value out of such a report?

Keith

-----Original Message-----
From: Dominique Devienne [mailto:DDevienne <at> lgc.com]
Sent: 31 October 2002 17:41
To: 'Ant Users List'
Subject: RE: JUnitReport - more info to display?

Actually, I disagree with you. Javadocs comments of the unit test code is
always accessible, but that doesn't tell you much about what really counts,
which is how much coverage of your code is *indeed* tested.

To find out this really crucial info, use a tool like Clover. --DD

-----Original Message-----
From: Keith Hatton [mailto:khatton <at> axiomsystems.com] 
Sent: Thursday, October 31, 2002 11:30 AM
To: Ant-User (E-mail) (E-mail)
Subject: JUnitReport - more info to display?

Does anyone have a way of getting JUnitReport to provide more "descriptive"
output?

(Continue reading)

Keith Hatton | 1 Nov 2002 09:50

RE: Is installing possible in Ant

You have installed it, but you will need %ANT_HOME%\bin to be in your PATH if you want to run "ant" from any directory.

Keith

-----Original Message-----
From: Uma Maheswar [mailto:uma <at> globalleafs.com]
Sent: 01 November 2002 08:29
To: ant-user <at> jakarta.apache.org
Subject: Is installing possible in Ant

Hi,
I have downloaded jakarta-ant-1.5.1-bin.zip folder from the site. I have unpacked them to c:\ and found
the following files

FOLDERS
bin
docs
lib
etc

FILES
KEYS
LICENSE
LICENSE.dom
LICENSE.sax
LICENSE.xerces
README
WHATSNEW
welcome.html

(Continue reading)

Vijay Gupta | 1 Nov 2002 11:30

Re: Compiling 2 files


Hi Conor,

Directory structure and package structure is ok. I tried with -debug option
and I found out the problem
it was copying old .class files for some files

Thanks for response.
Vijay

                                                                                                                 
                    Conor MacNeill                                                                               
                    <conor <at> cortexebusine       To:     Ant Users List <ant-user <at> jakarta.apache.org>              
                    ss.com.au>                 cc:                                                               
                                               Subject:     Re: Compiling 2 files                                
                    10/31/02 08:34 PM                                                                            
                    Please respond to                                                                            
                    "Ant Users List"                                                                             

Vijay Gupta wrote:
> Hi all,
>
> I have some problem with ant, I am trying to compile files.
> My folder has 46 files in sub directories, but when i run ant it says
> compiling 14 files..
> moreover it gives compilation errors saying can not resolve symbol in
some
> files
> when I cross checked the files they seems to be correct.
>
(Continue reading)

Uma Maheswar | 1 Nov 2002 12:52

Re: Is installing possible in Ant

Hi, I went to the control panel and updated my path like this
variable: path value: c:\j2sdk1.4.0\bin;c:\j2ee\bin;c:\jakarta-ant\bin
all commands like j2ee were functioning properly before doing this, but not
now. Is that the correct way to set the path? Please help me where am I
missing.

C:\Documents and Settings\UMA>ant
Buildfile: build.xml does not exist!
Build failed
C:\Documents and Settings\UMA>

C:\Documents and Settings\UMA>j2ee
No local string for j2ee.listenPort
J2EE server listen port: 1050
No local string for enterprise.log.logging.serverversion.started
No local string for enterprise.log.using.vm.name.version.from
No local string for enterprise.log.vm's.classpath
No local string for enterprise.log.j2ee.homedirectory
No local string for enterprise.log.logging.serverversion.started
No local string for enterprise.log.using.vm.name.version.from
No local string for enterprise.log.vm's.classpath
No local string for enterprise.log.j2ee.homedirectory
Redirecting the output and error streams to the following files:
c:\j2sdkee1.3.1\logs\hppav\j2ee\j2ee\system.out
c:\j2sdkee1.3.1\logs\hppav\j2ee\j2ee\system.err
C:\Documents and Settings\UMA>

Thanks
Uma
(Continue reading)

sharon Stanfill | 1 Nov 2002 15:10
Picon

RE: JUnitReport - more info to display?

Well, actually, from an upper level management viewpoint, you shouldn't 
need to see the
details, but be able to track that the testing was done. And, at least in 
some areas of
government work, there are various requirements involving 
proving/documenting that
testing was done.
At 08:49 AM 11/1/2002 +0000, Keith Hatton wrote:
>I agree about what's important - but in reality, my cynicism kicks in, and 
>the project manager suddenly wants to see "Unit Test Reports" (like, I 
>thought, unit testing was checking that your code met the design at a 
>fine-grained level, so what is there to report if it works?).
>
>It's just that I don't see the value (to anyone other than the developer) 
>of a list of test methods and the word "passed" next to them. Surely you 
>need to understand what each test case was to get value out of such a report?
>
>Keith
>
>
>-----Original Message-----
>From: Dominique Devienne [mailto:DDevienne <at> lgc.com]
>Sent: 31 October 2002 17:41
>To: 'Ant Users List'
>Subject: RE: JUnitReport - more info to display?
>
>
>Actually, I disagree with you. Javadocs comments of the unit test code is
>always accessible, but that doesn't tell you much about what really counts,
>which is how much coverage of your code is *indeed* tested.
(Continue reading)

Malik, Yousuff | 1 Nov 2002 16:31

RE: Is installing possible in Ant

Ant is installed file. Its looking for a build.xml file thats not present in
the C:\Documents and Settings\UMA directory. When you run ant, by default it
expects a build.xml file to be present in your directory.

Yousuff

-----Original Message-----
From: Uma Maheswar [mailto:uma <at> globalleafs.com]
Sent: Friday, November 01, 2002 5:53 AM
To: Ant Users List
Subject: Re: Is installing possible in Ant

Hi, I went to the control panel and updated my path like this
variable: path value: c:\j2sdk1.4.0\bin;c:\j2ee\bin;c:\jakarta-ant\bin
all commands like j2ee were functioning properly before doing this, but not
now. Is that the correct way to set the path? Please help me where am I
missing.

C:\Documents and Settings\UMA>ant
Buildfile: build.xml does not exist!
Build failed
C:\Documents and Settings\UMA>

C:\Documents and Settings\UMA>j2ee
No local string for j2ee.listenPort
J2EE server listen port: 1050
No local string for enterprise.log.logging.serverversion.started
No local string for enterprise.log.using.vm.name.version.from
No local string for enterprise.log.vm's.classpath
No local string for enterprise.log.j2ee.homedirectory
(Continue reading)

RE: Using ftp task with ant 1.5.1

Hi,

I am having problems getting ant 1.4.1 to see the ftp optional task.  I have
put the optional.jar and the NetComponents.jar files in ant's lib directory.
When I echo the java classpath from the ant build file I can see the jar
files in the classpath.  The -verbose -debug options don't tell me anything.

Is there something else that I need to do to get ant to recognize the ftp
task?

Thanks,

-----Original Message-----
From: Ritzmann, Heiko [mailto:Heiko.Ritzmann <at> godyo.com] 
Sent: Friday, November 01, 2002 1:22 AM
To: 'Ant Users List'
Subject: AW: Using ftp task with ant 1.5.1

I'm sure it woks with ant 1.5.1. Do you have the netcomponents.jar
(www.savarese.org/oro/downloads) in your classpath?

	<target name="putReleaseZipToServer" depends="zipRelease">
        <ftp server="${WebServer}"
             userid="${WebTomcatLogin}"
             password="${WebTomcatPassword}"
             remotedir="${TomcatName}">
            <fileset dir="${ReleaseDirectory}">
                  <include name="release_${ReleaseNumber}.zip"/>
            </fileset>
        </ftp>
(Continue reading)

Dominique Devienne | 1 Nov 2002 16:54

RE: JUnitReport - more info to display?

Which is exactly the kind of info the Clover report gives you, it seems to
me: Test coverage percentages of your entire code base, further broken down
by packages and even individual classes I understand. Knowing how many test
methods you have, and their names is indeed useless, as they could be empty,
and no one (!) would know nothing was tested.

A colleague of mine wrote a very smart static analyzer of the test code to
figure out which calls it was making (by introspecting the bytecode), but
even that is not enough to figure out what really gets called at runtime,
which is necessarily a subset of the calls discovered in the bytecode (by
direct calls), and doesn't take into account the interactions of the code
tested itself. It's still a much better metric of the testing done than just
the number and names of the test methods... --DD

-----Original Message-----
From: sharon Stanfill [mailto:sharons <at> ll.mit.edu] 
Sent: Friday, November 01, 2002 8:11 AM
To: Ant Users List; Ant Users List
Subject: RE: JUnitReport - more info to display?

Well, actually, from an upper level management viewpoint, you shouldn't 
need to see the details, but be able to track that the testing was done.
And, at least in some areas of government work, there are various
equirements involving proving/documenting that testing was done.

Gmane