Re: Problem running junit on Solaris 64 bit

2007-08-24 Thread Robert Clark
On Friday August 24, 2007, cactuar <[EMAIL PROTECTED]> wrote: > I am trying to run my JNI code using JUnit within Ant on Solaris > 5.8. However, it fails to load my shared object and gives me this > error message. > > Can't load Sparc v9 64-bit .so on a Sparc 32-bit platform > > How is it trying t

Problem running junit on Solaris 64 bit

2007-08-24 Thread cactuar
I am trying to run my JNI code using JUnit within Ant on Solaris 5.8. However, it fails to load my shared object and gives me this error message. Can't load Sparc v9 64-bit .so on a Sparc 32-bit platform I set the environment variables as following: JAVA_HOME = /local/apps/java/1.5.0-11-64/jdk1

Re: Is & a somehow special character to Ant?

2007-08-24 Thread Robert Clark
On Friday August 24, 2007, Krzysztof Kucybała <[EMAIL PROTECTED]> wrote: > I'm trying to use the exec task to issue a shell command, whose > output to stderr and stdout I'd really like redirected to a file > and the deleted, as it is not relevant and is corrupting my build > report. So this is wha

Re: path & fileset question

2007-08-24 Thread Matt Benson
--- Krzysztof Kucybała <[EMAIL PROTECTED]> wrote: > Hi, > > I have a big problem. I'm trying to have ant run > phpunit and phpunit2 > tests. To achieve that I'm using an exec task. It > was running smoothly > until I tried to execute multiple files which were > not known at design > time - t

path & fileset question

2007-08-24 Thread Krzysztof Kucybała
Hi, I have a big problem. I'm trying to have ant run phpunit and phpunit2 tests. To achieve that I'm using an exec task. It was running smoothly until I tried to execute multiple files which were not known at design time - the contents of a directory for tests. When I used a fileset to determ

how to run multiple script files using ant exec with command sqlplus

2007-08-24 Thread temp temp
I want to run multiple script files using exec ant task .I have two nested arg tags to specify my script files , but ant is executing only the first script and terminating how can I pass multiple script? - Choose the right car based on your needs

Re: Using ANT via Remote Desktop

2007-08-24 Thread Jeremy Kie
Just to add onto that theory: http://security-protocols.com/advisory/sp-x16-advisory.txt If remote desktop can only use a certain amount of memory, that could explain memory cannot be allocated for object heap. When in front of the physical machine, that memory limit does not exist. Jeremy On

Re: sql ant task

2007-08-24 Thread Krzysztof Kucybała
I guess I can give You a postgreSQL example, if that suits You. Under unix/linux pgsql comes with a command line tool which you can easily use. Here's the sample part of antfile - not tested, so no guarantees, but I suppose it could look more or less like this: Dig the ant docs a little

Re: sql ant task

2007-08-24 Thread miro
Thank you very much for your reply can you send me a simple example of using exec task to execute a sql file ? Thanks Miro Krzysztof Kucybała wrote: > > I suppose the easies, though maybe not the smartest way to do it, would > be to use exec task. Of course that is only useful if you have a c

Re: sql ant task

2007-08-24 Thread Krzysztof Kucybała
I suppose the easies, though maybe not the smartest way to do it, would be to use exec task. Of course that is only useful if you have a command line interface for the db that You're trying to use. You could put this in some *.sql file and have it exec-uted from ant. Does that help? Best regar

sql ant task

2007-08-24 Thread temp temp
I trying to execute small script using ant , here is the script SET NEWPAGE 0 SET SPACE 0 SET LINESIZE 80 SET PAGESIZE 0 SET ECHO OFF SET FEEDBACK OFF SET HEADING OFF SET MARKUP HTML OFF SET ESCAPE \ SPOOL DELETEME.SQL select 'drop table ', table_name, 'cascade constraints \;

Re: Is & a somehow special character to Ant?

2007-08-24 Thread James Fuller
to be more specific http://www.xml.com/pub/a/2001/01/31/qanda.html gl, Jim Fuller On 8/24/07, Borut Hadžialić <[EMAIL PROTECTED]> wrote: > & is special for xml because xml references start with & > > For your command you should use & instead of &, or put the whole > line inside , in which case y

Re: Is & a somehow special character to Ant?

2007-08-24 Thread Borut Hadžialić
& is special for xml because xml references start with & For your command you should use & instead of &, or put the whole line inside , in which case you continue using & . On 8/24/07, Krzysztof Kucybała <[EMAIL PROTECTED]> wrote: > Hi, > > I'm trying to use the exec task to issue a shell command

RE: Is & a somehow special character to Ant?

2007-08-24 Thread Keith Hatton
You probably need to use the XML escape sequence "&" Hope this helps Keith -Original Message- From: Krzysztof Kucybala [mailto:[EMAIL PROTECTED] Sent: 24 August 2007 09:13 To: Ant Users List Subject: Is & a somehow special character to Ant? Hi, I'm trying to use the exec task to issu

Is & a somehow special character to Ant?

2007-08-24 Thread Krzysztof Kucybała
Hi, I'm trying to use the exec task to issue a shell command, whose output to stderr and stdout I'd really like redirected to a file and the deleted, as it is not relevant and is corrupting my build report. So this is what I run on the command line: phpunit --log-xml somelog.xml MyCoolTest &>