Generic issue of transferring "text" files between Windows & 'nix. It's been a problem for as long as I've transferred files between the two....
On Thu, Dec 6, 2012 at 1:37 PM, Charlie Arehart <[email protected]>wrote: > OK, I’ll continue to play dumb, since this use of “–f” on the “java –jar” > command is entirely new to me. What is it in the properties.txt that you > were passing, Mike? And is it then that, Dawn, which you’re referring to? > Are you aware of what he may be passing in? Or were you just referring to a > generic issue of passing text files? > > I did google some for this “–f”, but came up empty. Even on the Oracle > page on the jars: > http://docs.oracle.com/javase/6/docs/technotes/tools/windows/jar.htmlit’s not > clear what it would have to do with running the updates. That’s > all I’m really trying to understand, in case it may help others. Thanks to > you both.**** > > ** ** > > /charlie**** > > ** ** > > *From:* [email protected] [mailto:[email protected]] *On Behalf Of *Dawn > Hoagland > *Sent:* Thursday, December 06, 2012 9:32 AM > *To:* [email protected] > *Subject:* Re: [ACFUG Discuss] ColdFusion 10 updates Offline**** > > ** ** > > Formatting problems when passing text files between Windows and 'nix have > been around since anyone needed to pass text files between Windows and > 'nix. Windows implements a different method of the linefeed character.*** > * > > ** ** > > Notepad *should* always be safe. But I've occasionally had problems > there as well.....**** > > ** ** > > On Wed, Dec 5, 2012 at 11:10 PM, Charlie Arehart <[email protected]> > wrote:**** > > Glad to hear it helped. > > As for the properties file, that's the first I've ever heard of using that > (in Windows or Unix). Since you seem to indicate its use with Windows, > what's it for? (I could google it, sure, but I'd like to hear your > perspective, such as what led you to use it at all. I've never seen it > mentioned, though of course I've seen mention of the command line java -jar > approach.) > > As for the cookie thing, I've not heard anyone else talk about it yet, and > since I've not had time to analyze it to really identify the nature of the > problem (and whether anything in CF controls or influences it), I have not > yet filed any bug report. > > /charlie > > > -----Original Message----- > From: [email protected] [mailto:[email protected]] On Behalf Of Mike Staver > Sent: Wednesday, December 05, 2012 7:08 PM > To: [email protected] > Subject: Re: [ACFUG Discuss] ColdFusion 10 updates Offline > > Thanks Charlie. I was able to download the jar files from the XML you > pointed out, and then run the command line update. Since this is on Solaris > and I don't have a GUI, I had to use the silent option like so: > > java -jar hotfix_005.jar -i silent -f properties.txt > > What tripped me up on that command is that if you create a properties file > on Windows, and then transfer it over to the Solaris machine, it won't > work. > The Windows vs Unix end of line character will bite you. The update > appeared > to run fine, but when I'd log back into CF Admin, it would still show the > old version. Running dos2unix or just editing the properties file in your > editor of choice would correct the issue. > > I'm interested in hear more about the reason we have to clear cookies to > get > back into CF Admin. Hopefully they can correct that with a hot fix if they > haven't already. > > > > > > ------------------------------------------------------------- > To unsubscribe from this list, manage your profile @ > http://www.acfug.org?fa=login.edituserform > > For more info, see http://www.acfug.org/mailinglists > Archive @ http://www.mail-archive.com/discussion%40acfug.org/ > List hosted by http://www.fusionlink.com > ------------------------------------------------------------- > > > **** > > > > **** > > ** ** > > -- > Dawn**** > > ------------------------------------------------------------- > To unsubscribe from this list, manage your profile @ > http://www.acfug.org?fa=login.edituserform > > For more info, see http://www.acfug.org/mailinglists > Archive @ http://www.mail-archive.com/discussion%40acfug.org/ > List hosted by FusionLink <http://www.fusionlink.com> > ------------------------------------------------------------- -- Dawn
