Morgan Kinne wrote:
Thanks Steve. You were correct of course. I was evidently trying to delete
files in a directory that didn't exist! Who would have thought that would
result in a security related exception. Bad on me for jumping to the
conclusion I jumped to. All is working properly now.
we
Thanks Steve. You were correct of course. I was evidently trying to delete
files in a directory that didn't exist! Who would have thought that would
result in a security related exception. Bad on me for jumping to the
conclusion I jumped to. All is working properly now.
Morgan Kinne wrote:
Hi,
I'm a newbie here and a newbie to Jython and scripting in Ant. In that
vein:
I've created a scriptdef task which I wrote in Jython. I'm using BSF as
the manager. My intent was to delete files within this task. Everything
works right up to the point whe
Hi,
I'm a newbie here and a newbie to Jython and scripting in Ant. In that
vein:
I've created a scriptdef task which I wrote in Jython. I'm using BSF as
the manager. My intent was to delete files within this task. Everything
works right up to the point where a file is to be dele
ct.getPr
operty('build.errors.total')"))
errorsTotal = project.getProperty('build.errors.total')
self.setValue(True)
Thanks
List: ant-dev
Subject: is broken with Jython in the recent trunk
builds
From: "Alexey N. Solofnenko"
Date: 2
ct.getPr
operty('build.errors.total')"))
errorsTotal = project.getProperty('build.errors.total')
self.setValue(True)
Thanks
List: ant-dev
Subject: is broken with Jython in the recent trunk
builds
From: "Alexey N. Solofnenko"
Date: 2
Antoine,
Thanks for the correction and explanation, I'll give it a go.
Cheers,
Hoos
-Original Message-
From: Antoine Levy-Lambert [mailto:[EMAIL PROTECTED]
Sent: 10 August 2006 23:24
To: Ant Users List
Subject: Re: RE: Calling ant tasks from jython
Hello Hussein,
the first ve
Von: "Hussein Badakhchani" <[EMAIL PROTECTED]>
An: "Ant Users List"
Betreff: RE: Calling ant tasks from jython
> Peter,
>
> Many thanks for your help, here are my findings:
>
> In your first example you suggested:
>
>
> import org
dir.execute()
Thanks again, you have streamlined my weblogic build process greatly :)
Cheers,
Hoos
-Original Message-
From: Peter Reilly [mailto:[EMAIL PROTECTED]
Sent: 10 August 2006 16:51
To: Ant Users List
Subject: Re: Calling ant tasks from jython
I normally use project.createTas
That's interesting, you are in-lining Jython in your build script, I
don't:
I'll try your approach just to see if it works although I'd much rather
keep the jython outside of my build.xml in .py files. Perhaps this is a
bug.
-Original Message-
From: Peter R
Hello everyone,
I'm new in here and I know the basic of ANT. I use it for
compiling javacard applets. Well my problem is that I would like to know
if it is possible with ANT to run the same ANT with multiple different
.properties that I pass in my init target? Now I'm using one ANT for
ea
t.
Does anyone have an example of using an ant task in some custom Java
code, this might shed some light on what I need to do.
-Original Message-
From: Hussein Badakhchani [mailto:[EMAIL PROTECTED]
Sent: 10 August 2006 14:38
To: Ant Users List
Subject: RE: Calling ant tasks from jyth
6, Hussein Badakhchani <[EMAIL PROTECTED]> wrote:
Thanks, your right that was a typo in my message. I still have the
error.
-Original Message-
From: Peter Reilly [mailto:[EMAIL PROTECTED]
Sent: 10 August 2006 14:32
To: Ant Users List
Subject: Re: Calling ant tasks from jython
-
From: Hussein Badakhchani [mailto:[EMAIL PROTECTED]
Sent: 10 August 2006 14:38
To: Ant Users List
Subject: RE: Calling ant tasks from jython
Thanks, your right that was a typo in my message. I still have the
error.
-Original Message-
From: Peter Reilly [mailto:[EMAIL PROTECTED]
Sent: 10
Thanks, your right that was a typo in my message. I still have the
error.
-Original Message-
From: Peter Reilly [mailto:[EMAIL PROTECTED]
Sent: 10 August 2006 14:32
To: Ant Users List
Subject: Re: Calling ant tasks from jython
just a quick look:
Mkdir.setDir(testDir)
should be
just a quick look:
Mkdir.setDir(testDir)
should be mkdir.setDir(testDir)
Peter
On 8/10/06, Hussein Badakhchani <[EMAIL PROTECTED]> wrote:
Hello,
I am calling a jython script from my build.xml file using the script
task e.g:
I want to use ant tasks from antCallTest.py. W
Hello,
I am calling a jython script from my build.xml file using the script
task e.g:
I want to use ant tasks from antCallTest.py. While I don't seem to have
any problems retrieving my projects properties it seems that any call I
make to an ant task method requires an extra arg
For the record, here is the very simple solution to the problem:
I was trying to use jython.jar without any of the other files that come with
Jython.
Jython automatically sets as its import path a sub-directory below
jython.jar named Lib. This directory needs to hold the Lib dir from the
Jython
I'm trying to use the jython re module in ant from a script task.
I have added the jython.jar library to my classpath, and can use various
function of python.
But when I try to import re, I get the following:
check:
[script] Traceback (innermost last):
[script] File "&qu
I have had a similar problem. In my situation I execute ANT preprocessor
written in Jython, then ANT itself, then some script within ANT. The
problem was that Jython launcher used a single state class and did not
reinitialize it when a script is executed from ANT. To fix the problem I
had to
I'm having an issue which seems to be caused by my Ant configuration,
but it's involving some other tools. If you're not familiar with these
other tools, either ignore this or try to muddle through it.
I'm using WebLogic's WLST tool, which uses Jython (Python interpreter
Hello !
I previously wrote jython tests with PyUnit but this is not well
integrated into ANT and the report output is not as good as Junit one,
applying a satisfying stylesheet then not really feasible.
I made few tries to write jython tests inheriting from junit, generating
the .class with
On Wed, 28 May 2003, Sebastien Blanc <[EMAIL PROTECTED]>
wrote:
> when you say server, you mean HTPP server or any kind of server ?
Any kind of server whose availability can be tested by connecting to a
single socket 8-)
In case of a HTTP server, the condition may be better suited.
Stefan
--
23 matches
Mail list logo