Re: Problems using URL tasks

2012-09-14 Thread Harold Putman
ed, I get this error: > > BUILD FAILED > /Users/caspersgrin/Java/Workspace/LINF-test/build.xml:27: The reference to > entity "clean" must end with the ';' delimiter. > > The actual parameter part of the URL is: > > > fileName=c:/Users/marvin/Document

Problems using URL tasks

2012-09-14 Thread Rob Tanner
rameter part of the URL is: fileName=c:/Users/marvin/Documents/B2Development/LINF-test.war&clean=true&available=true Since it appears that the semi-colon can be added without causing problems on the remote server, I tried adding it per the error message but I still get the same error. Any ideas? Thanks, Rob

Re: AntUnit - Using assertResourceExists to check URL

2012-06-08 Thread Stefan Bodewig
On 2012-06-08, Pascal Schumacher wrote: > I opened a bugzilla issue: > https://issues.apache.org/bugzilla/show_bug.cgi?id=53383 Great, thanks Stefan - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additiona

Re: AntUnit - Using assertResourceExists to check URL

2012-06-08 Thread Pascal Schumacher
Hello Stefan, thanks for the quick response. :-) I opened a bugzilla issue: https://issues.apache.org/bugzilla/show_bug.cgi?id=53383 Pascal -- Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de ---

Re: AntUnit - Using assertResourceExists to check URL

2012-06-07 Thread Stefan Bodewig
should be possible to check if a URL exists. But I can't figure out > how to do it. I tried two ways: > http://ant.apache.org/index.html"/> In general assertResourceExists only works for Ant 1.8.x as it needs some changes to IntrospectionHelper. See <https://issues.a

AntUnit - Using assertResourceExists to check URL

2012-06-07 Thread Pascal Schumacher
Hello everybody, according to the AntUnit 1.2 documentation "assertResourceExists Asserts that a given resource exists. This is a generalization of assertFileExists and allows to test for arbitrary resources." it should be possible to check if a URL exists. But I can't figure

Re: NPE thrown from ProjectHelper2.parse() when parsing from URL

2011-09-29 Thread Stefan Bodewig
On 2011-09-28, Steele, Richard wrote: > On Wed, Sep 28, 2011 at 11:48 AM, Stefan Bodewig wrote: >> I'm pretty sure I recall this being discussed on the dev list, so it is >> something the dev community is aware of. ProjectHelper2 still mostly >> deals with files on

Re: NPE thrown from ProjectHelper2.parse() when parsing from URL

2011-09-28 Thread Steele, Richard
On Wed, Sep 28, 2011 at 11:48 AM, Stefan Bodewig wrote: > I'm pretty sure I recall this being discussed on the dev list, so it is > something the dev community is aware of. ProjectHelper2 still mostly > deals with files only, URL support is largely there for antlibs and &g

Re: NPE thrown from ProjectHelper2.parse() when parsing from URL

2011-09-28 Thread Stefan Bodewig
ce I can't always depend on that > being set I need to know if is this a Bug or a Feature? If the former I'll > submit a bug report. I'm pretty sure I recall this being discussed on the dev list, so it is something the dev community is aware of. ProjectHelper2 still mostly

NPE thrown from ProjectHelper2.parse() when parsing from URL

2011-09-28 Thread Steele, Richard
Running Ant 1.8.2 on Windows XP, I'm writing a task that returns a string resource collection of target names in a project. Well, attempting to write one. I'm running into problems when the build file I'm parsing is from a URL instead of a File. The main method that I have

Re: 'classpath url' in settings

2011-04-20 Thread Nicolas Lalevée
Le 19 avr. 2011 à 17:08, Felix Drueke a écrit : > Can anyone confirm that the " http://ant.apache.org/ivy/history/latest-milestone/settings/classpath.html > actually works with IvyDE under Windows? > > I got it to work with ant and with IvyDE in Eclipse under Linux, but it > doesn't > work unde

Re: Using ANT to validate a URL

2009-07-24 Thread David Weintraub
2009/7/24 Júlio Cesar Bueno Cotta > humm..that can help me .. > just to be sure.. > if the url is www.google.com it is ok..but if the url is > www.Do_Not_exist.com it is a valid url? Ran it with the following build.xml *project> http://google.com"/> ht

Re: Using ANT to validate a URL

2009-07-24 Thread Júlio Cesar Bueno Cotta
humm..that can help me .. just to be sure.. if the url is www.google.com it is ok..but if the url is www.Do_Not_exist.com it is a valid url? Thanks. 2009/7/24 Shawn Beard > Yes thats all I need to do is make sure it is valid. Thank you. > >

Re: Using ANT to validate a URL

2009-07-24 Thread Shawn Beard
Yes thats all I need to do is make sure it is valid. Thank you. Shawn From: David Weintraub To: Ant Users List Sent: Friday, July 24, 2009 10:00:29 AM Subject: Re: Using ANT to validate a URL On Fri, Jul 24, 2009 at 10:47 AM, Shawn Beard wrote: >

Re: Using ANT to validate a URL

2009-07-24 Thread David Weintraub
On Fri, Jul 24, 2009 at 10:47 AM, Shawn Beard wrote: > We use ANT to deploy applications. Is there a way to have ANT validate the > deployment by going to its URL and "Deployment is Valid" from the webpage? > Thank you. > You just want to make sure that the URL is va

Using ANT to validate a URL

2009-07-24 Thread Shawn Beard
We use ANT to deploy applications. Is there a way to have ANT validate the deployment by going to its URL and "Deployment is Valid" from the webpage? Thank you. Shawn

RE: URL=.... Behaviour

2008-09-17 Thread Foreman, Alex (IT)
al Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 17 September 2008 10:12 To: [EMAIL PROTECTED] Subject: RE: URL= Behaviour "We have a standard resolver where 90% of our projects exist in the correct place. 10% of projects are in the same filesystem but not standa

RE: URL=.... Behaviour

2008-09-17 Thread paul . newport
"We have a standard resolver where 90% of our projects exist in the correct place. 10% of projects are in the same filesystem but not standardly placed. We cannot change the place they exist at. So anything unstandard is located via a url="file://." link for the artifact.

RE: Retrieving key value pairs from URL and setting as system property

2008-03-20 Thread Rebhan, Gilbert
-Original Message- From: raju [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2008 6:16 AM To: user@ant.apache.org Subject: RE: Retrieving key value pairs from URL and setting as system property /* This is what i am trying to acheive from within an Ant script: Hit a URL say http

RE: Retrieving key value pairs from URL and setting as system property

2008-03-19 Thread raju
Hi gilbert, Thanks for your replies. This is what i am trying to acheive from within an Ant script: Hit a URL say http://host/environment?name=test ,from which a get a response a containing key-value pairs containing data about the environment.(could this be done without writing the key-value

RE: Retrieving key value pairs from URL and setting as system property

2008-03-19 Thread Burgess, Benjamin
ache.org Subject: Retrieving key value pairs from URL and setting as system property Hi, I need to access a web URL say http://.../viewproperties which throws plain html with key value pairs as response. Now as part of the main build i need to acces the above mentioned URL and set each of t

RE: Retrieving key value pairs from URL and setting as system property

2008-03-19 Thread Rebhan, Gilbert
... /* setting the env variables = accessing the env variables = $${env.FOO} == ${env.FOO} $${env.BAR} == ${env.BAR} other already set env variables are also accessible $${env.JAVA_HOME} == ${env.JAVA_HOME} $${env.TOMCAT_HOME} == ${env.TOMCAT_HOME} */ when using the variables are only

RE: Retrieving key value pairs from URL and setting as system property

2008-03-19 Thread Rebhan, Gilbert
-Original Message- From: raju [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 19, 2008 12:23 PM To: user@ant.apache.org Subject: Retrieving key value pairs from URL and setting as system property /* I need to access a web URL say http://.../viewproperties which throws plain html with

Retrieving key value pairs from URL and setting as system property

2008-03-19 Thread raju
Hi, I need to access a web URL say http://.../viewproperties which throws plain html with key value pairs as response. Now as part of the main build i need to acces the above mentioned URL and set each of the key value pairs as system environment variables so that they are available other

RE: Whichresource is URL-encoding spaces

2008-02-18 Thread Mike
Hi, just posting a follow-up in hopes of someone being able to help.. Thanks in advance. Mike -Original Message- From: Mike [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 12, 2008 6:46 PM To: 'Ant Users List' Subject: RE: Whichresource is URL-encoding spaces

RE: Whichresource is URL-encoding spaces

2008-02-12 Thread Mike
se of the "%20" space encoding (whichresource returns URL-encoded paths). If I manually define env.properties.file.url to "C:\Documents and Settings\Mike" everything is OK. But this is not desirable as the script must be able to determine a path to a file dynamically. Mike

Re: Whichresource is URL-encoding spaces

2008-02-12 Thread Charbel BITAR
> > > > """ > > The output I get from Eclipse is: > > """ > BUILD FAILED > C:\Documents and Settings\Mike\workspace\test\build.xml:16: it doesn't > exist. > """ > > I have determined that the cause is t

Whichresource is URL-encoding spaces

2008-02-11 Thread Mike
ccessfully: """ """ The output I get from Eclipse is: """ BUILD FAILED C:\Documents and Settings\Mike\workspace\test\build.xml:16: it doesn't exist. """ I have determined that the cause is the whichresou

RE: How to open a URL?

2007-09-10 Thread Priest, James (NIH/NIEHS) [C]
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Monday, September 10, 2007 2:28 AM > To: user@ant.apache.org; [EMAIL PROTECTED] > Subject: AW: How to open a URL? > > > > But I would recommend having an eye on Canoo Webtest

AW: How to open a URL?

2007-09-09 Thread Jan.Materne
But I would recommend having an eye on Canoo Webtest http://webtest.canoo.com/ Jan >-Ursprüngliche Nachricht- >Von: Martin Gainty [mailto:[EMAIL PROTECTED] >Gesendet: Samstag, 8. September 2007 16:27 >An: Ant Users List >Betreff: Re: How to open a URL? > >down

Re: How to open a URL?

2007-09-08 Thread Martin Gainty
download command line URL utility (CURL) located at http://www.cs.sunysb.edu/documentation/curl/index.html then execute the CURL utility with ant exec (reference located at) http://ant.apache.org/manual/CoreTasks/exec.html http://curl.haxx.se/> M-- This email message and

How to open a URL?

2007-09-08 Thread Angelo Chen
Hi, Is there a way to open a url from Ant? this is needed when a war file is deployed. Thanks, A.C. -- View this message in context: http://www.nabble.com/How-to-open-a-URL--tf4406098.html#a12570003 Sent from the Ant - Users mailing list archive at Nabble.com

Disabling Continnum URL

2007-06-13 Thread Ashwin E
I'm using Ant with Continuum. I already have a CVS url specified in the Ant Build.xml, now I dont want to specify the url in Continuum. Can this be done? is there anyway to prevent this happenning? -- View this message in context: http://www.nabble.com/Disabling-Continnum-URL-tf3914110

AW: specifying a URL as a property location [SEC=UNCLASSIFIED]

2007-02-26 Thread Jan.Materne
You could store the URL in a property with value-attribute. Then try using s [1] in your tasks most of the core tasks should handle urls (ResourceCollections) since 1.7.0. But ATM you cant use with urls ... Jan [1] http://ant.apache.org/manual/CoreTypes/resources.html#url >-Ursprüngli

specifying a URL as a property location [SEC=UNCLASSIFIED]

2007-02-25 Thread Michelle . Bhaal
Hello. We've got a server which holds all our common files. I'd like to be able to reference these files via a URL instead of mapping the network drive to a directory. Specifically, I'd like to do the following: https://tgecld01/ivy/"/> Unf

Re: Url Syntax for invoking adminitrative task on mysql database

2005-11-30 Thread Ray Tayek
At 10:51 AM 11/29/2005, you wrote: ... BUILD FAILED P:\SLZ\AMENA-CC\build.xml:276: java.sql.SQLException: No suitable Driver for jdbc:mysql://localhost:3306 ... i had this (but for very different reasons) with mysql 5. updating to the most recent driver fixed it. thanks ---

RE: Url Syntax for invoking adminitrative task on mysql database

2005-11-29 Thread David
no problem for executing non administrative task for example if I execute the script for creating the database by hand, then I cant invoke the sql task for creating the tables using the following parameters: Now the URL syntax should have the name of the database at the end, but what about

Url Syntax for invoking adminitrative task on mysql database

2005-11-29 Thread David
: java.sql.SQLException: No suitable Driver for jdbc:mysql://localhost:3306 Total time: 1 second So, probably I am making some mistake on the url definition, do you have any idea about how to define for sucha administrative task? the script file look like this: -- creates the database (called 

[url] Have an (fish)eye on ant ;-)

2005-08-25 Thread Gilbert Rebhan
Hi, in case you don't already know = http://fisheye.cenqua.com/ especially = http://fisheye.cenqua.com/viewrep/ant bye4now, Gilbert - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTEC

Re: AW: Problem with parsing ant script from URL

2005-08-19 Thread M. Z.
Thanks Jan for your answer. I have more queries regarding this problem. Is InputStream supported? Any other object than File supported? I Checked the API and found this statement "A helper must support at least File, for backward compatibility. Helpers may support URL, InputStream, e

AW: Problem with parsing ant script from URL

2005-08-19 Thread Jan.Materne
>Does anybody know how to parse ant script from URL instead of File? URL is not supported - too many file relative tasks. >2. As I need to call ant tasks in the java class, I'll have to >parse the ant script. Why? You dont have to parse a script - you can instantiate the task

Problem with parsing ant script from URL

2005-08-19 Thread M. Z.
Hi all, Does anybody know how to parse ant script from URL instead of File? What I need to do is as below: 1. I have a .jar file which contains my class file, the ant script, and some other dirs/files. 2. As I need to call ant tasks in the java class, I'll have to parse the ant script. Ho

RE: How to open URL from ANT.

2005-06-06 Thread James Abley
tml James -Original Message- From: Nir Geier [mailto:[EMAIL PROTECTED] Sent: Wed 5/18/2005 4:00 PM To: Ant Users List Cc: Subject:RE: How to open URL from ANT. Ty for all your help Stefan. i assume its related to the authentication. if i upload page without authentication it

RE: How to open URL from ANT.

2005-05-19 Thread Matt Benson
nson [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 18, 2005 5:27 PM > To: Ant Users List > Subject: Re: How to open URL from ANT. > > > --without a doubt. on Ant < 1.6.4 should not > work with authentication, period. If it does then > the > username + passw

RE: How to open URL from ANT.

2005-05-19 Thread Nir Geier
So if i understood u correctly (Imm using ant 1.6.3) it shouldnt work. Nir. -Original Message- From: Matt Benson [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 18, 2005 5:27 PM To: Ant Users List Subject: Re: How to open URL from ANT. --without a doubt. on Ant < 1.6.4 should not w

Re: How to open URL from ANT.

2005-05-18 Thread Matt Benson
--without a doubt. on Ant < 1.6.4 should not work with authentication, period. If it does then the username + password couldn't be more than two characters... or some similar freak occurrence. Even better would be if I were wrong, but I can't see how that's possible in this case. -Matt --- St

RE: How to open URL from ANT.

2005-05-18 Thread Nir Geier
URL from ANT. On Wed, 18 May 2005, Nir Geier <[EMAIL PROTECTED]> wrote: > http://localhost:7701/manager/reload?path=/cc"; >dest="${logs.dir}/reload_cc.log" >verbose="${verbose}" >usetimestamp=&

Re: How to open URL from ANT.

2005-05-18 Thread Stefan Bodewig
On Wed, 18 May 2005, Nir Geier <[EMAIL PROTECTED]> wrote: > http://localhost:7701/manager/reload?path=/cc"; >dest="${logs.dir}/reload_cc.log" >verbose="${verbose}" >usetimestamp="true" >password="tomcat" >

RE: How to open URL from ANT.

2005-05-18 Thread Nir Geier
ot;tomcat" username="tomcat" /> java.lang.ArrayIndexOutOfBoundsException: 12 Nir -Original Message- From: Stefan Bodewig [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 18, 2005 2:18 PM To: user@ant.apache.org Subject: Re: How to open URL from ANT. So

RE: How to open URL from ANT.

2005-05-18 Thread Nir Geier
Thats what i didnt know. the task -Original Message- From: Stefan Bodewig [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 18, 2005 2:18 PM To: user@ant.apache.org Subject: Re: How to open URL from ANT. On Wed, 18 May 2005, Nir Geier <[EMAIL PROTECTED]> wrote: > Im using it

Re: How to open URL from ANT.

2005-05-18 Thread Stefan Bodewig
use the reload from ant instead of open a > browser and type the URL. So you don't need to display it at all? See the task or the condition. Stefan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: How to open URL from ANT.

2005-05-18 Thread Nir Geier
Im using it to reload context under tomcat. I wrote my own task for: http://localhost:7701/manager/reload?path=/cc I simply wanted to do it from ant since I have script that updates the sources I want to use the reload from ant instead of open a browser and type the URL. TY all for the help

Re: How to open URL from ANT.

2005-05-18 Thread Stefan Bodewig
On Wed, 18 May 2005, Nir Geier <[EMAIL PROTECTED]> wrote: > Is there any option to open URL with Browser? Not a portable one (which Browser would you use?). is your only option. Stefan - To unsubscribe, e-mai

Re: How to open URL from ANT.

2005-05-18 Thread Jeffrey E Care
.opensource.ibm.com/projects/mantis "Nir Geier" <[EMAIL PROTECTED]> wrote on 05/18/2005 05:28:48 AM: > Hi all. > > How can I open url from ant? > For example I have a documentation page that I want to display (HTML page) > I want to click on ant target which ope

RE: How to open URL from ANT.

2005-05-18 Thread Nir Geier
ow to open URL from ANT. Even I like to find out the same. But in the meantime I am using the exec task, i.e. running system command, to open my url in the browser, in Win2k. http://ant.apache.org"; /> -Original Message- From:

RE: How to open URL from ANT.

2005-05-18 Thread manoj puthran
Even I like to find out the same. But in the meantime I am using the exec task, i.e. running system command, to open my url in the browser, in Win2k. http://ant.apache.org"; /> -Original Message- From: Nir Geier [mailto:[EMAIL P

How to open URL from ANT.

2005-05-18 Thread Nir Geier
Hi all. How can I open url from ant? For example I have a documentation page that I want to display (HTML page) I want to click on ant target which opens the page in browser. Is there any option to open URL with Browser? Ty in advance

Re: xml entity include and protected URL?

2005-02-25 Thread Robert Koberg
the parser will use java.net.URL and URLConnection to retrieve the URL and your only chances are to use what is available to your "plain JDK". On some JDKs you can set the system properties http.proxyUser and http.proxyPassword (or https.*) to make the java.net package deal with proxy auth

Re: xml entity include and protected URL?

2005-02-25 Thread Stefan Bodewig
es ATM. Entitiy includes get expanded by the XML parser before Ant "is really there" and so it depends on the XML parser how they get performed. Most probably the parser will use java.net.URL and URLConnection to retrieve the URL and your only chances are to use what is available to you

xml entity include and protected URL?

2005-02-24 Thread Rob Hills
portions of ant script using the XML entity include functionality. I have this working fine with local files, or using a publicly accessible URL. However, I need to be able to include fragments from our repository via URLs. When I try this, I get errors which I believe are attributable either

Please update URL and contact info for Speech4j, Pamda and Jegustator

2004-01-31 Thread Pavel Vlasov
Hello, Please update information for Speech4j, Pamda and Jegustator on "External tools and tasks" page. Contact info for all of them: http://www.pavelvlasov.com/pv/content/contact.html";>Pavel Vlasov Jegustator URL: http://www.pavelvlasov.com/pv/content/[EMAIL PROTECTED]

url

2003-10-15 Thread Euan Guttridge
https://projects.buildonline.com/jsp/diagnostics/servername.jsp Euan Guttridge Technical Operations BuildOnline 40 Holborn Viaduct London EC1N 2PB UK Customer Services: 0870 241 2283 Telephone: +44 (