Return-Path: X-Original-To: apmail-ant-user-archive@www.apache.org Delivered-To: apmail-ant-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AE97D10197 for ; Sat, 30 Nov 2013 09:54:59 +0000 (UTC) Received: (qmail 4973 invoked by uid 500); 30 Nov 2013 09:54:56 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 4928 invoked by uid 500); 30 Nov 2013 09:54:56 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 4917 invoked by uid 99); 30 Nov 2013 09:54:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 30 Nov 2013 09:54:54 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [212.227.126.187] (HELO moutng.kundenserver.de) (212.227.126.187) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 30 Nov 2013 09:54:50 +0000 Received: from JanmySN (dsdf-4db5d2b6.pool.mediaWays.net [77.181.210.182]) by mrelayeu.kundenserver.de (node=mrbap2) with ESMTP (Nemesis) id 0LqWMz-1V8fTU3ZTN-00dnTd; Sat, 30 Nov 2013 10:54:18 +0100 From: =?utf-8?Q?Jan_Mat=C3=A8rne_=28jhm=29?= To: "'Ant Users List'" References: ,<001701ceecc7$6919d230$3b4d7690$@de>,,<002901ceecd7$4cd11e20$e6735a60$@de> , <004901ceedb1$cac426d0$604c7470$@de> In-Reply-To: <004901ceedb1$cac426d0$604c7470$@de> Subject: AW: AW: AW: problem with ftp Date: Sat, 30 Nov 2013 10:54:00 +0100 Message-ID: <004a01ceedb2$187f98a0$497ec9e0$@de> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Ac7tkrNUhZJZvlo1Q3yYvaTlO55XzwAHaN7AAABq9IA= Content-Language: de X-Provags-ID: V02:K0:DAatl0iXQj7t7GqIK4t1HGtif5rlWXivW7q0Qxs2YCb qGAaTuyUXQB7LB0U4c59h1drOoq4VyU+U/7bDIin7AceJN7+wY L6j0J7UmK/U2UdALTDU0xb3eDSYGpx5vXCNymPujZiyJDc6zZF oTVLcd/mG2db8DLv4pdLP4DZTfqkvr3X0xvxCqPVE30U9uxErV u3kAsB1lH2Aay5TKnii4CJjOXmvp0ipEKioaQlUvJi4vMe2Slv kB87rqK9tvJNbiiwx0ELB7G9UvmGI9jEeIq/1XRfbiqkjjXydv 7mXWizKfTHGr/Y4Q7jVVCIC39GdhBDA/YGOOUMIS4dGJlmK6SI eQriqHzliLif31Td03ow= X-Virus-Checked: Checked by ClamAV on apache.org p.s.: Thanks Scot for your aid ;) Jan > -----Urspr=C3=BCngliche Nachricht----- > Von: Jan Mat=C3=A8rne (jhm) [mailto:apache@materne.de] > Gesendet: Samstag, 30. November 2013 10:52 > An: 'Ant Users List' > Betreff: AW: AW: AW: problem with ftp >=20 > If someone comes with a problem and points to place where he think the > sticking point is, I usually want to make my own picture. Maybe I see > the same problem, maybe not. But there is a reason why someone stops = at > a certain point. And often enough I had seen that the real problem is > "some lines before" and he was doctoring just at the symptoms. >=20 > You asked for help from a Guru. I am using and writing Ant since > 1.3/2000, so I would think I have some knowledge here. But I wouldn't > call myself as a Guru (nobody should call himself so in my opinion). >=20 > After your first response I was really annoyed and started an > "unpleasant" reply, but I stopped myself and focused on the problem. > Your error message doesn't fit to the code I saw so asked for more > input. >=20 > But coming to an end: the problem is solved (because it was somewhere > else) and I accept your apology, so we can work together in a better > way in the future. >=20 >=20 > If you think you have found a bug or just a "strange behaviour" in > , you may open a Bugzilla request. >=20 >=20 > Jan >=20 > > -----Urspr=C3=BCngliche Nachricht----- > > Von: David Coleman [mailto:david_coleman_007@hotmail.com] > > Gesendet: Samstag, 30. November 2013 07:09 > > An: Ant Users List > > Betreff: RE: AW: AW: problem with ftp > > > > I too thought it was darn condescending that he ignored my original > > question entirely. > > > > I said: > > >>>>> I have absolutely NO variables in my macrodef. It appears to > me > > >>>>> that for some reason ANT is trying to parse replacements in = the > > >>>>> binary data of the file I'm trying to transfer. I am not an > ANT > > >>>>> guru, but something here seems very very very wrong. > > > > I'm not usually one to respond as I did. but I felt like he was = very > > condescending to ME. > > > > I only reach out for help when I'm SURE that it is something > > extraordinary. > > > > In the end, I'm quite sure that there is a bug in the ftp task where > > instead of reporting that the included file is invalid, it reads > > binary garbage out of somewhere, and then if it happens to find a > > ${*anything* in that data, tries to parse it. > > > > He totally ignored the relevant code and focused on lines of code > > which were not even in question. He sent 3 different emails all of > > which were basically criticizing me for trying to share a more > > complete picture than just pasting the section. and if I had > > only pasted the section I'm sure he would have wanted more > information. > > > > Honestly, I'm sure he has helped many people. But I think that just > > because I'm new doesn't mean he can condescend me. > > > > > > > > > > Date: Sat, 30 Nov 2013 00:51:36 -0500 > > From: sfloess@nc.rr.com > > To: user@ant.apache.org > > Subject: RE: AW: AW: problem with ftp > > > > > > David, > > > > I've been on this list a long time and know that Jan has helped a = ton > > of people. Pretty darn cold and condescending to treat someone who = - > > was- trying to help. > > > > I use to post help often when I had the time...but haven't in days = of > > late. I can tell you seeing someone come to this list seeking free > > help and responding in such an ungrateful manor deserves to be > ignored > > in the future. I'm thankful now I didn't have any free time to > bother > > looking into your problem. > > > > Perhaps some etiquette such as "thank you" but the problem was "fill > > in the blank" would have been more appropriate? > > > > > > Jan, > > > > Just sticking up for you here...this person doesn't deserve your > > help... > > > > > > Flossy > > > > > > > > On Fri, 29 Nov 2013, David Coleman wrote: > > > > > > > > > > > > > > thank you but I have found the issue. Someone who actually read > > > what > > I posted and didn't focus on irrelevant matters pointed out that if > my > > target file was in the /deploy directory, then my include did not > need > > to include the "deploy" folder again. > > > > > > Thank you for worrying so much about optimizing my build but i > > > assure > > you, the answer was there for you to see if you had taken the time = to > > actually listen to me. > > > > > > Apparently for some reason ANT decided to read garbage out of > > somewhere - memory/disk/somewhere - and then decided to parse it. > > > > > > It certainly should have thrown a different error, since NO > > PROPERTIES were actually involved. like i said. > > > > > > thank you again. hopefully this will teach you to not dismiss > > > people > > so casually. > > > > > >> From: apache@materne.de > > >> To: user@ant.apache.org > > >> Subject: AW: AW: problem with ftp > > >> Date: Fri, 29 Nov 2013 08:47:48 +0100 > > >> > > >>> and i specifically stated: > > >>>>> I have absolutely NO variables in my macrodef. > > >> > > >> I could see that. But the error message "Syntax error in > property:" > > make me thought that something is wrong with properties. > > >> > > >> > > >>> "checkAntCommons" and "checkJakartaOro" check for the libraries > > that > > >>> are required for the FTP task. they are totally irrelevant. > > >> > > >> If they are totally irrelevant - have you tried to strip down = your > > build code? > > >> Just remove the safety at the moment and delete all instructions > > that are not required, e.g. availability checks of external libs, > > additional settings in the ftp task ... > > >> > > >> > > >>> I'm not going to provide our whole build xml file on an open > forum. > > >>> I provided the pieces that an experienced person will need to > help > > >>> me with this very strange issue. > > >> > > >> While I can understand that you wont to post the whole build = file. > > >> But you asked for help and dont want to provide further > information > > an "experienced person" may need? > > >> > > >> > > >>> I am running with -d. it shows nothing, i get the debug output > > >>> and then when it starts to send the file, it blows up = complaining > > >>> about a > > >>> ${***GARBAGE*** property. > > >>> > > >>> trust me the ONLY call to the task is the code you see > > below. > > >> > > >> Then again - strip your code to the absolute minimum. > > >> In my own maintenance script of a homepage I use > > >> > > >> > remotedir=3D"my/remote/dir"> > > >> > includes=3D"${includes}"> > > >> > > >> > > >> > > >> > > >> > > >> Jan > > >> > > >>> > > >>>> From: apache@materne.de > > >>>> To: user@ant.apache.org > > >>>> Subject: AW: problem with ftp > > >>>> Date: Fri, 29 Nov 2013 06:54:00 +0100 > > >>>> > > >>>> My first thought is that you are setting a property with a > > >>>> strange > > >>> name. > > >>>> Could you run with "-d"? Maybe the debug output gives more > hints. > > >>>> While just reading the macrodef I couldnt find something = suspect > > ... > > >>>> You are calling checkAntCommons and checkJakartaOro targets. I > > dont > > >>> know what happens there (or in the target from where you call > > >>> deployHoftest). > > >>>> > > >>>> Jan > > >>>> > > >>>>> -----Urspr=C3=BCngliche Nachricht----- > > >>>>> Von: David Coleman [mailto:david_coleman_007@hotmail.com] > > >>>>> Gesendet: Donnerstag, 28. November 2013 20:35 > > >>>>> An: user@ant.apache.org > > >>>>> Betreff: problem with ftp > > >>>>> > > >>>>> hello list! > > >>>>> > > >>>>> I have an issue with my ftp task in ANT 1.9.1 > > >>>>> > > >>>>> here is my ftp task: > > >>>>> > > >>>>> > >>>>> hoftest"> > > >>>>> > > >>>>> > > >>>>> > > >>>>> > >>>>> server=3D"164.177.*********" > > >>>>> remotedir=3D"/hoftest/assets/lobby" > > >>>>> port=3D"21" > > >>>>> verbose=3D"true" > > >>>>> action=3D"send" > > >>>>> passive=3D"yes" > > >>>>> systemTypeKey=3D"UNIX" > > >>>>> > > > >>>>> > > >>>>> > > >>>>> > > >>>>> > > >>>>> > > >>>>> > > >>>>> > > >>>>> > > >>>>> > > >>>>> > > >>>>> I know that i successfully connect to my server because I get = a > > >>>>> login error if i change the password, and i get my problem if = i > > >>>>> put the right password. I also connect via filezilla all the > > >>>>> time. it is not an issue of concurrent connections, because i > > have no limit. > > >>>>> > > >>>>> when i run this task i get the following output: > > >>>>> = f:\var\projects\hof\svn2.------------------.com\lobby\trunk>ant > > >>>>> deploy > > >>>>> Buildfile: f:\var\projects\hof\svn2.----------------- > > >>>>> .com\lobby\trunk\build.xml > > >>>>> > > >>>>> deploy: > > >>>>> > > >>>>> checkAntCommons: > > >>>>> [echo] checking for F:\bin\ant\lib/commons-net-1.4.1.jar > > >>>>> [echo] ANT commons-net library is available > > >>>>> > > >>>>> checkJakartaOro: > > >>>>> [echo] checking for F:\bin\ant\lib/jakarta-oro-2.0.8.jar > > >>>>> [echo] jakarta-oro library is available > > >>>>> [ftp] sending files > > >>>>> > > >>>>> BUILD FAILED > > >>>>> f:\var\projects\hof\svn2.----------------------- > > >>>>> .com\lobby\trunk\build.xml:324: The following error occurred > > while > > >>>>> executing this line: > > >>>>> f:\var\projects\hof\svn2.----------------------- > > >>>>> .com\lobby\trunk\build.xml:309: Syntax error in property: > > >>>>> > > >>> > > = ${=E2=98=BAc6W=E2=88=9F5=E2=8C=82[6=E2=96=84=E2=89=88=E2=98=BBw=C3=A45=E2= =86=93=E2=95=9A=E2=95=9EK=E2=96=90Bd=E2=89=A16?k=E2=95=A5<=E2=95=9E:=C3=A8= bE=E2=96=929=E2=89=A1'=E2=95=97=C3=AE=C2=A3=CE=98=E2=94=BC=C3=A8=E2=94=9C= =E2=89=A4=E2=95=98r=E2=89=A4?=C3=B6=C3=A6Cu=C2=BD=E2=95=9E=E2=95=96=C2=A7= =CE=A3=E2=99=A6=C3=A7=E2=96=93(=CF=83=E2=81=BF.? > > >>>>> n=E2=89=A1P = =C3=9F=CE=98=C3=A9K=E2=94=BC=E2=99=A3=CE=A3Rq!=E2=95=A3T,=C3=B2=E2=96=A0=C3= =84=E2=95=A0W3=E2=95=91=C2=BB=C3=A6 ?=E2=88=9Ai = =E2=95=A9=E2=86=91=E2=86=93UQa{=CF=83=E2=96=BC=C3=AE=C2=BC=E2=89=88Lpt=E2= =96=A0=E2=94=BC=C3=87=E2=98=BB/=CE=B1=E2=94=90=E2=94=98D`=E2=95=AC!`8&=E2= =94=9C > > >>>>> > > >>> > > = =C3=B2=C6=92=E2=98=BA=C3=9Cj=E2=96=B2?=E2=95=94=E2=98=BA=E2=99=A61Q.=C3=B4= =C2=B2=C2=A2=E2=94=B4=E2=94=8C=C3=87a=C2=A3=E2=88=99=E2=96=92=E2=88=99O=C3= =A6k=C3=B1cl=E2=95=9Cv=C3=91l^)w=E2=95=A0G=E2=95=92=E2=95=A0g=C3=A4=C3=AA= yP=CE=B5=E2=95=98=E2=95=9F7=E2=96=91=E2=95=90=C2=B5u=E2=95=9A=C2=A1I=E2=94= =90N6=C2=BB=C2=BA4%=E2=96=92=C3=86=C2=BA=E2=89=A5 > > >>>>> =C3=A1=3D=E2=8C=82 > > >>>>> =C3=AE5=E2=86=907=E2=95=9A=C2=B5 > > >>>>> > > >>>>> Total time: 3 seconds > > >>>>> > > >>>>> I have absolutely NO variables in my macrodef. It appears to > me > > >>>>> that for some reason ANT is trying to parse replacements in = the > > >>>>> binary data of the file I'm trying to transfer. I am not an > ANT > > >>>>> guru, but something here seems very very very wrong. > > >>>>> > > >>>>> Am I doing something wrong guys? > > >>>>> > > >>>>> Please help me. > > >>>>> > > >>>>> Thank you! > > >>>>> > > >>>> > > >>>> > > >>>> = ---------------------------------------------------------------- > - > > >>>> - > > - > > >>>> -- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For > > >>> additional > > >>>> commands, e-mail: user-help@ant.apache.org > > >>>> > > >>> > > >> > > >> > > >> = ------------------------------------------------------------------ > - > > >> - > > - > > >> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For > > >> additional commands, e-mail: user-help@ant.apache.org > > >> > > > > > > > Scot P. Floess RHCT (Certificate Number = 605010084735240) > > Chief Architect FlossWare http://sourceforge.net/projects/flossware > > http://flossware.sourceforge.net > > > https://github.com/organizations/FlossWare > > > > = --------------------------------------------------------------------- > > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For > additional > > commands, e-mail: user-help@ant.apache.org > > >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional > commands, e-mail: user-help@ant.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org