Error loading stylesheet: An XSLT stylesheet does not have an XML mimetype

2007-08-30 Thread Krzysztof Kucybała
Hi, I encountered this problem when trying to look at the log produced by ant during a continuous build (cc): Error loading stylesheet: An XSLT stylesheet does not have an XML mimetype: http://myserver.net:8081/dashboard/build/download/artifacts/SPP_CPP_1_0/log20070830171818.xml/ant/log.xsl

Re: How to compile C++

2007-08-30 Thread Krzysztof Kucybała
I'll see about that. Thanks a lot. Best regards, Krzysztof Kevin Jackson wrote: Hi, http://ant-contrib.sourceforge.net/cc.html Does this help - it supports gcc so should be able to compile c++ Kev - To unsubscribe, e-mail:

How to compile C++

2007-08-30 Thread Krzysztof Kucybała
Hi, Just wanted to ask if anyone knows other way to compile c++ using ant, then by using task to invoke cc or any other compiler, or makefile. I didn't find any c++ specific tasks in ant or ant-contrib docs. I'll welcome any help. Best regards, Krzysztof ---

Re: path & fileset question

2007-08-28 Thread Krzysztof Kucybała
It seems suspicious that the arg line you use with exec contains this ${phpunit_class} value, but your task has no corresponding arg element. Have you looked at the log messages created by running Ant in -verbose mode to verify that each execution appears to have been reasonably constructed? N

Re: path & fileset question

2007-08-27 Thread Krzysztof Kucybała
That seems a little strange, but I'll take your word for it as I know nothing about phpunit. The obvious (to me, anyway; sorry) way to get the target filename and the --log whatever that was switch together is to add the switch to your mapper. But somehow I am afraid this may not be the issue.

Re: path & fileset question

2007-08-27 Thread Krzysztof Kucybała
Matt Benson wrote: --- 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 tim

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

Re: sql ant task

2007-08-24 Thread Krzysztof Kucybała
hanks 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 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

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

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 &>

Re: AW: Trouble executing a junit task

2007-08-22 Thread Krzysztof Kucybała
gards, Krzysztof [EMAIL PROTECTED] wrote: ResourceCollection was introduced in Ant 1.7.0. Are you mixing different Ant versions? Jan -Ursprüngliche Nachricht- Von: Krzysztof Kucybała [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 22. August 2007 10:41 An: Ant Users List Betreff: Trouble exec

Trouble executing a junit task

2007-08-22 Thread Krzysztof Kucybała
Hi, I'm trying to build the dashboard application for cruise control 2.7. The build.xml for that app has a junit task, which fails and breaks the build. First it would give me an error that it could not initialize the task, with a suggestion to put a relevant jar file on the classpath. So I p

Re: Trouble building application with space in path

2007-08-22 Thread Krzysztof Kucybała
I don't know if I'm not missing something out here, but why do You use spaces in paths? Change them to underscores and You'll have tons of trouble off Your head. One of the very first things I learned in computer science was never to put whitespaces where they don't belong - identifiers, filena

Two-level property names

2007-08-20 Thread Krzysztof Kucybała
Hi, I just wanted to know if there is a possibility to achieve something like this in Ant: -> I have a set of names that identify different deployment environments. say these are unit, dev, intern for now. -> I have a set of properties for each of these, all in one property file (wouldn't be

Re: How to escape characters in regexp strings?

2007-08-17 Thread Krzysztof Kucybała
placeregexp" must be followed by either attribute specifications, ">" or "/>". where line 84 is the one that starts with the word 'match'. Can You tell me how to correct it? I'd appreciate greatly. Best regards, Krzysztof Kucybała Amarjit J

How to escape characters in regexp strings?

2007-08-17 Thread Krzysztof Kucybała
cape other occurrences of " in the text. How do I do that? \" doesn't work :o( I will appreciate any help. Best regards, Krzysztof Kucybała - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]