• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: External Command Call [ LATEST ] - More Java Than WebObjects
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: External Command Call [ LATEST ] - More Java Than WebObjects


  • Subject: Re: External Command Call [ LATEST ] - More Java Than WebObjects
  • From: Art Isbell <email@hidden>
  • Date: Tue, 8 Jul 2003 20:22:26 -1000

On Tuesday, July 8, 2003, at 08:07  PM, Jonathan Fleming wrote:

OK, I'm looking at this code a little bit harder now and I think I may have found part or all of my problem... the java output is creating an ImageMagick input (command line) with quotes attached to it ("") as like:
------- COMMAND LINE WITH QUOTES ATTACHED (CAUSES ERROR) --------
"C:\imagemagick-5.5.7-q8\convert -size 90x90 \Apple\web\WebObjects\JandMGeneralMaintenance.woa\Contents\WebServerRes ources\fullSizeImages800pix\Conservatory4ChairDinner.jpg -resize 90x90 +profile "*" \Apple\web\WebObjects\JandMGeneralMaintenance.woa\Contents\WebServerRes ources\fullSizeImages800pix\Conservatory4ChairDinnerThumb.jpg"
this causes a FILE NOT FOUND ERROR, whereas removing the quotes ("") to produce the line below executes the script OK.
So how do I eliminate the quotes("")?

OK, I'll play. Take a close look at your command line; it includes internal quotes surrounding the asterisk which is bound to cause problems. These internal quotes need to be protected - \"*\". Just a guess...


Aloha,
Art
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: External Command Call [ LATEST ] - More Java Than WebObjects (From: "Jonathan Fleming" <email@hidden>)

  • Prev by Date: Re: External Command Call [ LATEST ] - More Java Than WebObjects
  • Next by Date: Re: EOModeler error with MySQL - SOLVED
  • Previous by thread: Re: External Command Call [ LATEST ] - More Java Than WebObjects
  • Next by thread: Re: WebObjects App Open To Hackers - [ THE ENGINEER'S REPORT ]
  • Index(es):
    • Date
    • Thread