Thread: [Htmlparser-user] Re: a possible need feature
Brought to you by:
derrickoswald
From: Derrick O. <Der...@ro...> - 2002-12-23 20:59:13
|
David, There is now code in the repository to do this (version 1.3 only available straight out of CVS at the moment). There are now 'URLConnection constructors' on the HTMLParser object. So you would do something like: url = new URL ("http://www.teamstore.com"); connection = (HttpURLConnection)url.openConnection (); connection.setRequestProperty ("User-Agent", "Mozilla/3.0(Windows NT 4.0; U) Opera 6.0 [en]"); // ... and whatever else is required parser = new HTMLParser (connection); for (enumeration = parser.elements (); enumeration.hasMoreNodes ();) // ... process your nodes See the test case HTMLParserTest.testPOST() for a working example. Derrick >Date: Mon, 23 Dec 2002 11:44:51 -0800 (PST) >From: "Navid H.Langaroudi" <na...@ya...> >To: htm...@li... >Subject: [Htmlparser-user] a possible need feature >Reply-To: htm...@li... > >Hi Somik, >I had a problem accessing this site >(www.teamstore.com) which was giving me HTTP error >501. I tried to access the site with Java's >URLConnection class, and again I got same result, >error 501! > >But once I used this setting (see line 3 below), I >gained access to the site, an no more errors: > >1-URL mysite = new URL("http://www.teamstore.com"); >2-URLConnection yc = mysite.openConnection(); >3-yc.setRequestProperty("User-Agent", "Mozilla/3.0 >(Windows NT 4.0; U) Opera 6.0 [en]") ; > > >I was wonder if it is possible to do the same, >"setRequestProperty" with HTMLParser objects? > >I really appreciate it if you could let me know this. > >By the way, I wish you and all others involved in this >project a Happy Xmas and New Year! > >With Best wishes >Navid > |
From: Navid H.L. <na...@ya...> - 2002-12-23 23:02:55
|
Hi Derrick, Thank you very much, But i could not find the version 1.3, and is it possible to rebuilt it on windows? Somik told me before, for unreleased versions I should run a the build.xml using ANT. I need some more info to do so. Thank you Regards, Navid --- Derrick Oswald <Der...@ro...> wrote: > David, > > There is now code in the repository to do this > (version 1.3 only > available straight out of CVS at the moment). > There are now 'URLConnection constructors' on the > HTMLParser object. > So you would do something like: > > url = new URL > ("http://www.teamstore.com"); > connection = > (HttpURLConnection)url.openConnection (); > connection.setRequestProperty > ("User-Agent", > "Mozilla/3.0(Windows NT 4.0; U) Opera 6.0 [en]"); > // ... and whatever else is required > parser = new HTMLParser (connection); > for (enumeration = parser.elements (); > enumeration.hasMoreNodes ();) > // ... process your nodes > > See the test case HTMLParserTest.testPOST() for a > working example. > > Derrick > > >Date: Mon, 23 Dec 2002 11:44:51 -0800 (PST) > >From: "Navid H.Langaroudi" <na...@ya...> > >To: htm...@li... > >Subject: [Htmlparser-user] a possible need feature > >Reply-To: htm...@li... > > > >Hi Somik, > >I had a problem accessing this site > >(www.teamstore.com) which was giving me HTTP error > >501. I tried to access the site with Java's > >URLConnection class, and again I got same result, > >error 501! > > > >But once I used this setting (see line 3 below), I > >gained access to the site, an no more errors: > > > >1-URL mysite = new URL("http://www.teamstore.com"); > >2-URLConnection yc = mysite.openConnection(); > >3-yc.setRequestProperty("User-Agent", "Mozilla/3.0 > >(Windows NT 4.0; U) Opera 6.0 [en]") ; > > > > > >I was wonder if it is possible to do the same, > >"setRequestProperty" with HTMLParser objects? > > > >I really appreciate it if you could let me know > this. > > > >By the way, I wish you and all others involved in > this > >project a Happy Xmas and New Year! > > > >With Best wishes > >Navid > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Htmlparser-user mailing list > Htm...@li... > https://lists.sourceforge.net/lists/listinfo/htmlparser-user __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |
From: Somik R. <so...@ya...> - 2002-12-24 01:58:49
|
Hi Navid, [1] Check the CVS page of htmlparser - there are instructions for doing an anonymous checkout [2] Install Ant - http://jakarata.apache.org/ant/ [3] go to the source directory where you see build.xml - and type ant in the command line. [4] If the above steps are too hard, wait for a week for the integration release for 1.3. Regards, Somik --- "Navid H.Langaroudi" <na...@ya...> wrote: > Hi Derrick, > Thank you very much, But i could not find the > version > 1.3, and is it possible to rebuilt it on windows? > Somik told me before, for unreleased versions I > should > run a the build.xml using ANT. I need some more info > to do so. Thank you > > Regards, > Navid > > --- Derrick Oswald <Der...@ro...> wrote: > > David, > > > > There is now code in the repository to do this > > (version 1.3 only > > available straight out of CVS at the moment). > > There are now 'URLConnection constructors' on the > > HTMLParser object. > > So you would do something like: > > > > url = new URL > > ("http://www.teamstore.com"); > > connection = > > (HttpURLConnection)url.openConnection (); > > connection.setRequestProperty > > ("User-Agent", > > "Mozilla/3.0(Windows NT 4.0; U) Opera 6.0 [en]"); > > // ... and whatever else is required > > parser = new HTMLParser (connection); > > for (enumeration = parser.elements (); > > > enumeration.hasMoreNodes ();) > > // ... process your nodes > > > > See the test case HTMLParserTest.testPOST() for a > > working example. > > > > Derrick > > > > >Date: Mon, 23 Dec 2002 11:44:51 -0800 (PST) > > >From: "Navid H.Langaroudi" <na...@ya...> > > >To: htm...@li... > > >Subject: [Htmlparser-user] a possible need > feature > > >Reply-To: htm...@li... > > > > > >Hi Somik, > > >I had a problem accessing this site > > >(www.teamstore.com) which was giving me HTTP > error > > >501. I tried to access the site with Java's > > >URLConnection class, and again I got same result, > > >error 501! > > > > > >But once I used this setting (see line 3 below), > I > > >gained access to the site, an no more errors: > > > > > >1-URL mysite = new > URL("http://www.teamstore.com"); > > >2-URLConnection yc = mysite.openConnection(); > > >3-yc.setRequestProperty("User-Agent", > "Mozilla/3.0 > > >(Windows NT 4.0; U) Opera 6.0 [en]") ; > > > > > > > > >I was wonder if it is possible to do the same, > > >"setRequestProperty" with HTMLParser objects? > > > > > >I really appreciate it if you could let me know > > this. > > > > > >By the way, I wish you and all others involved in > > this > > >project a Happy Xmas and New Year! > > > > > >With Best wishes > > >Navid > > > > > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Htmlparser-user mailing list > > Htm...@li... > > > https://lists.sourceforge.net/lists/listinfo/htmlparser-user > > > __________________________________________________ > Do you Yahoo!? > Yahoo! Mail Plus - Powerful. Affordable. Sign up > now. > http://mailplus.yahoo.com > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Htmlparser-user mailing list > Htm...@li... > https://lists.sourceforge.net/lists/listinfo/htmlparser-user __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |
From: Navid H.L. <na...@ya...> - 2002-12-26 19:42:45
|
Hi Somik, unfortunatly I could not access the CVS as discribed on CVS page. I do not know what I am doing Wrong. I tried putty.exe with ssh and slow I installed a version of CVS on my XP, but none of them worked. I would like to learn this eventually. But for now, I desperately need version 1.3 which Derrick mensioned. Is there any way I get this? I greatly appreciate your help. Thanks you, Regards, Navid --- Somik Raha <so...@ya...> wrote: > Hi Navid, > [1] Check the CVS page of htmlparser - there are > instructions for doing an anonymous checkout > [2] Install Ant - http://jakarata.apache.org/ant/ > [3] go to the source directory where you see > build.xml - and type ant in the command line. > [4] If the above steps are too hard, wait for a > week for the integration release for 1.3. > > Regards, > Somik > --- "Navid H.Langaroudi" <na...@ya...> wrote: > > Hi Derrick, > > Thank you very much, But i could not find the > > version > > 1.3, and is it possible to rebuilt it on windows? > > Somik told me before, for unreleased versions I > > should > > run a the build.xml using ANT. I need some more > info > > to do so. Thank you > > > > Regards, > > Navid > > > > --- Derrick Oswald <Der...@ro...> > wrote: > > > David, > > > > > > There is now code in the repository to do this > > > (version 1.3 only > > > available straight out of CVS at the moment). > > > There are now 'URLConnection constructors' on > the > > > HTMLParser object. > > > So you would do something like: > > > > > > url = new URL > > > ("http://www.teamstore.com"); > > > connection = > > > (HttpURLConnection)url.openConnection (); > > > connection.setRequestProperty > > > ("User-Agent", > > > "Mozilla/3.0(Windows NT 4.0; U) Opera 6.0 > [en]"); > > > // ... and whatever else is required > > > parser = new HTMLParser > (connection); > > > for (enumeration = parser.elements > (); > > > > > enumeration.hasMoreNodes ();) > > > // ... process your nodes > > > > > > See the test case HTMLParserTest.testPOST() for > a > > > working example. > > > > > > Derrick > > > > > > >Date: Mon, 23 Dec 2002 11:44:51 -0800 (PST) > > > >From: "Navid H.Langaroudi" <na...@ya...> > > > >To: htm...@li... > > > >Subject: [Htmlparser-user] a possible need > > feature > > > >Reply-To: htm...@li... > > > > > > > >Hi Somik, > > > >I had a problem accessing this site > > > >(www.teamstore.com) which was giving me HTTP > > error > > > >501. I tried to access the site with Java's > > > >URLConnection class, and again I got same > result, > > > >error 501! > > > > > > > >But once I used this setting (see line 3 > below), > > I > > > >gained access to the site, an no more errors: > > > > > > > >1-URL mysite = new > > URL("http://www.teamstore.com"); > > > >2-URLConnection yc = mysite.openConnection(); > > > >3-yc.setRequestProperty("User-Agent", > > "Mozilla/3.0 > > > >(Windows NT 4.0; U) Opera 6.0 [en]") ; > > > > > > > > > > > >I was wonder if it is possible to do the same, > > > >"setRequestProperty" with HTMLParser objects? > > > > > > > >I really appreciate it if you could let me know > > > this. > > > > > > > >By the way, I wish you and all others involved > in > > > this > > > >project a Happy Xmas and New Year! > > > > > > > >With Best wishes > > > >Navid > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Htmlparser-user mailing list > > > Htm...@li... > > > > > > https://lists.sourceforge.net/lists/listinfo/htmlparser-user > > > > > > __________________________________________________ > > Do you Yahoo!? > > Yahoo! Mail Plus - Powerful. Affordable. Sign up > > now. > > http://mailplus.yahoo.com > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Htmlparser-user mailing list > > Htm...@li... > > > https://lists.sourceforge.net/lists/listinfo/htmlparser-user > > > __________________________________________________ > Do you Yahoo!? > Yahoo! Mail Plus - Powerful. Affordable. Sign up > now. > http://mailplus.yahoo.com > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Htmlparser-user mailing list > Htm...@li... > https://lists.sourceforge.net/lists/listinfo/htmlparser-user __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |
From: Somik R. <so...@ya...> - 2002-12-26 21:41:00
|
Hi Navid, Here's an easy way to do it. Get the IDE Eclipse. That has inbuilt CVS integration, so all you have to do is specify your repository (Go in anonymous pserver mode). Honestly speaking, I do not know why you were using putty. It is not required at all. I think you might be making a simple mistake- what is the command you are issuing to cvs for checking out code ? Remember, you should be trying anonymous pserver, and not the developer mode. Regards, Somik --- "Navid H.Langaroudi" <na...@ya...> wrote: > Hi Somik, > unfortunatly I could not access the CVS as discribed > on CVS page. I do not know what I am doing Wrong. I > tried putty.exe with ssh and slow I installed a > version of CVS on my XP, but none of them worked. > I would like to learn this eventually. > But for now, I desperately need version 1.3 which > Derrick mensioned. Is there any way I get this? > I greatly appreciate your help. > > Thanks you, > Regards, > Navid > > --- Somik Raha <so...@ya...> wrote: > > Hi Navid, > > [1] Check the CVS page of htmlparser - there > are > > instructions for doing an anonymous checkout > > [2] Install Ant - > http://jakarata.apache.org/ant/ > > [3] go to the source directory where you see > > build.xml - and type ant in the command line. > > [4] If the above steps are too hard, wait for a > > week for the integration release for 1.3. > > > > Regards, > > Somik > > --- "Navid H.Langaroudi" <na...@ya...> > wrote: > > > Hi Derrick, > > > Thank you very much, But i could not find the > > > version > > > 1.3, and is it possible to rebuilt it on > windows? > > > Somik told me before, for unreleased versions I > > > should > > > run a the build.xml using ANT. I need some more > > info > > > to do so. Thank you > > > > > > Regards, > > > Navid > > > > > > --- Derrick Oswald <Der...@ro...> > > wrote: > > > > David, > > > > > > > > There is now code in the repository to do this > > > > (version 1.3 only > > > > available straight out of CVS at the moment). > > > > There are now 'URLConnection constructors' on > > the > > > > HTMLParser object. > > > > So you would do something like: > > > > > > > > url = new URL > > > > ("http://www.teamstore.com"); > > > > connection = > > > > (HttpURLConnection)url.openConnection (); > > > > connection.setRequestProperty > > > > ("User-Agent", > > > > "Mozilla/3.0(Windows NT 4.0; U) Opera 6.0 > > [en]"); > > > > // ... and whatever else is > required > > > > parser = new HTMLParser > > (connection); > > > > for (enumeration = parser.elements > > (); > > > > > > > enumeration.hasMoreNodes ();) > > > > // ... process your nodes > > > > > > > > See the test case HTMLParserTest.testPOST() > for > > a > > > > working example. > > > > > > > > Derrick > > > > > > > > >Date: Mon, 23 Dec 2002 11:44:51 -0800 (PST) > > > > >From: "Navid H.Langaroudi" > <na...@ya...> > > > > >To: htm...@li... > > > > >Subject: [Htmlparser-user] a possible need > > > feature > > > > >Reply-To: > htm...@li... > > > > > > > > > >Hi Somik, > > > > >I had a problem accessing this site > > > > >(www.teamstore.com) which was giving me HTTP > > > error > > > > >501. I tried to access the site with Java's > > > > >URLConnection class, and again I got same > > result, > > > > >error 501! > > > > > > > > > >But once I used this setting (see line 3 > > below), > > > I > > > > >gained access to the site, an no more errors: > > > > > > > > > >1-URL mysite = new > > > URL("http://www.teamstore.com"); > > > > >2-URLConnection yc = mysite.openConnection(); > > > > >3-yc.setRequestProperty("User-Agent", > > > "Mozilla/3.0 > > > > >(Windows NT 4.0; U) Opera 6.0 [en]") ; > > > > > > > > > > > > > > >I was wonder if it is possible to do the > same, > > > > >"setRequestProperty" with HTMLParser objects? > > > > > > > > > > >I really appreciate it if you could let me > know > > > > this. > > > > > > > > > >By the way, I wish you and all others > involved > > in > > > > this > > > > >project a Happy Xmas and New Year! > > > > > > > > > >With Best wishes > > > > >Navid > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > This sf.net email is sponsored by:ThinkGeek > > > > Welcome to geek heaven. > > > > http://thinkgeek.com/sf > > > > > _______________________________________________ > > > > Htmlparser-user mailing list > > > > Htm...@li... > > > > > > > > > > https://lists.sourceforge.net/lists/listinfo/htmlparser-user > > > > > > > > > > __________________________________________________ > > > Do you Yahoo!? > > > Yahoo! Mail Plus - Powerful. Affordable. Sign up > > > now. > > > http://mailplus.yahoo.com > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Htmlparser-user mailing list > > > Htm...@li... > > > > > > https://lists.sourceforge.net/lists/listinfo/htmlparser-user > > > > > > __________________________________________________ > > Do you Yahoo!? > > Yahoo! Mail Plus - Powerful. Affordable. Sign up > > now. > > http://mailplus.yahoo.com > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Htmlparser-user mailing list > > Htm...@li... > > > https://lists.sourceforge.net/lists/listinfo/htmlparser-user > > > __________________________________________________ > Do you Yahoo!? > Yahoo! Mail Plus - Powerful. Affordable. Sign up > now. > http://mailplus.yahoo.com > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > === message truncated === __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |
From: Navid H.L. <na...@ya...> - 2002-12-27 00:13:44
|
Thank you Somik, it was very interesting. I could access the CVS. and see the directories, But sill have problem I am installing ANT now, but I do not understand the next step [1] Check the CVS page of htmlparser - there are instructions for doing an anonymous checkout [2] Install Ant - [3] go to the source directory where you see build.xml - and type ant in the command line. last step does not make sense to me, If I run ANT on command line, and CVS is running on Eclipse, what is the connection between these two? I think I should copy or download something or build.xml from CVS. Please let me know what I should do. Thank you very much. Navid --- Somik Raha <so...@ya...> wrote: > Hi Navid, > Here's an easy way to do it. Get the IDE Eclipse. > That has inbuilt CVS integration, so all you have to > do is specify your repository (Go in anonymous > pserver > mode). > Honestly speaking, I do not know why you were > using > putty. It is not required at all. I think you might > be > making a simple mistake- what is the command you are > issuing to cvs for checking out code ? Remember, you > should be trying anonymous pserver, and not the > developer mode. > > Regards, > Somik > > --- "Navid H.Langaroudi" <na...@ya...> wrote: > > Hi Somik, > > unfortunatly I could not access the CVS as > discribed > > on CVS page. I do not know what I am doing Wrong. > I > > tried putty.exe with ssh and slow I installed a > > version of CVS on my XP, but none of them worked. > > I would like to learn this eventually. > > But for now, I desperately need version 1.3 which > > Derrick mensioned. Is there any way I get this? > > I greatly appreciate your help. > > > > Thanks you, > > Regards, > > Navid > > > > --- Somik Raha <so...@ya...> wrote: > > > Hi Navid, > > > [1] Check the CVS page of htmlparser - there > > are > > > instructions for doing an anonymous checkout > > > [2] Install Ant - > > http://jakarata.apache.org/ant/ > > > [3] go to the source directory where you see > > > build.xml - and type ant in the command line. > > > [4] If the above steps are too hard, wait for > a > > > week for the integration release for 1.3. > > > > > > Regards, > > > Somik > > > --- "Navid H.Langaroudi" <na...@ya...> > > wrote: > > > > Hi Derrick, > > > > Thank you very much, But i could not find the > > > > version > > > > 1.3, and is it possible to rebuilt it on > > windows? > > > > Somik told me before, for unreleased versions > I > > > > should > > > > run a the build.xml using ANT. I need some > more > > > info > > > > to do so. Thank you > > > > > > > > Regards, > > > > Navid > > > > > > > > --- Derrick Oswald <Der...@ro...> > > > wrote: > > > > > David, > > > > > > > > > > There is now code in the repository to do > this > > > > > (version 1.3 only > > > > > available straight out of CVS at the > moment). > > > > > There are now 'URLConnection constructors' > on > > > the > > > > > HTMLParser object. > > > > > So you would do something like: > > > > > > > > > > url = new URL > > > > > ("http://www.teamstore.com"); > > > > > connection = > > > > > (HttpURLConnection)url.openConnection (); > > > > > connection.setRequestProperty > > > > > ("User-Agent", > > > > > "Mozilla/3.0(Windows NT 4.0; U) Opera 6.0 > > > [en]"); > > > > > // ... and whatever else is > > required > > > > > parser = new HTMLParser > > > (connection); > > > > > for (enumeration = > parser.elements > > > (); > > > > > > > > > enumeration.hasMoreNodes ();) > > > > > // ... process your nodes > > > > > > > > > > See the test case HTMLParserTest.testPOST() > > for > > > a > > > > > working example. > > > > > > > > > > Derrick > > > > > > > > > > >Date: Mon, 23 Dec 2002 11:44:51 -0800 (PST) > > > > > >From: "Navid H.Langaroudi" > > <na...@ya...> > > > > > >To: htm...@li... > > > > > >Subject: [Htmlparser-user] a possible need > > > > feature > > > > > >Reply-To: > > htm...@li... > > > > > > > > > > > >Hi Somik, > > > > > >I had a problem accessing this site > > > > > >(www.teamstore.com) which was giving me > HTTP > > > > error > > > > > >501. I tried to access the site with Java's > > > > > > >URLConnection class, and again I got same > > > result, > > > > > >error 501! > > > > > > > > > > > >But once I used this setting (see line 3 > > > below), > > > > I > > > > > >gained access to the site, an no more > errors: > > > > > > > > > > > >1-URL mysite = new > > > > URL("http://www.teamstore.com"); > > > > > >2-URLConnection yc = > mysite.openConnection(); > > > > > >3-yc.setRequestProperty("User-Agent", > > > > "Mozilla/3.0 > > > > > >(Windows NT 4.0; U) Opera 6.0 [en]") ; > > > > > > > > > > > > > > > > > >I was wonder if it is possible to do the > > same, > > > > > >"setRequestProperty" with HTMLParser > objects? > > > > > > > > > > > > > >I really appreciate it if you could let me > > know > > > > > this. > > > > > > > > > > > >By the way, I wish you and all others > > involved > > > in > > > > > this > > > > > >project a Happy Xmas and New Year! > > > > > > > > > > > >With Best wishes > > > > > >Navid > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > This sf.net email is sponsored by:ThinkGeek > > > > > Welcome to geek heaven. > > > > > http://thinkgeek.com/sf > > > > > > > _______________________________________________ > > > > > Htmlparser-user mailing list > > > > > Htm...@li... > > > > > > > > > > > > > > > https://lists.sourceforge.net/lists/listinfo/htmlparser-user > > > > > > > > > > > > > > __________________________________________________ > > > > Do you Yahoo!? > > > > Yahoo! Mail Plus - Powerful. Affordable. Sign > up > > > > now. > > > > http://mailplus.yahoo.com > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > This sf.net email is sponsored by:ThinkGeek > > > > Welcome to geek heaven. > === message truncated === __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |
From: Somik R. <so...@ya...> - 2002-12-27 02:43:21
|
Hi Navid, > [3] go to the source directory where you see > build.xml - and type ant in the command line. > > last step does not make sense to me, If I run ANT on > command line, and CVS is running on Eclipse, what is > the connection between these two? I think I should > copy or download something or build.xml from CVS. CVS is not running on Eclipse. Eclipse supports CVS through a plugin. There is no connection b/w Ant and CVS. Ant is a build mechanism (have you read the docs on http://jakarta.apache.org/ant/ ?) Eclipse also supports ant. Simply right-click on build.xml, and choose Run Ant. That should create the release in the distribution directory. The check under your eclipse workspace, and navigate to the directory (or if its easier for you, do a search for zip files in windows titled htmlparser* ). Regards, Somik |
From: Navid H.L. <na...@ya...> - 2002-12-27 23:34:17
|
Hi Somik, I still cann't do it. I installed ANT on my windows XP. Then using Eclipse, I logged to CVS Repositories, there by clicking on HEAD, and then htmlparser, I could see another set of folders and also build.xml 1.24. I right click on xml file, but could not RUN ANT did not appear!! May be my Eclipse configuration is wronge, or I am on wronge path!! I tried Run -> External Tools -->configure --> and then gave ANT name and Tool Location as [antfolder]\bootstrap\bin\ant in configuration window, but still I got error by running the External Tool --> ANT!! It looks kind of complecated now, but I will learn it any way. Any suggestion will be appreciated. Thanks for your help Navid --- Somik Raha <so...@ya...> wrote: > Hi Navid, > > > [3] go to the source directory where you see > > build.xml - and type ant in the command line. > > > > last step does not make sense to me, If I run ANT > on > > command line, and CVS is running on Eclipse, what > is > > the connection between these two? I think I should > > copy or download something or build.xml from CVS. > > CVS is not running on Eclipse. Eclipse supports CVS > through a plugin. There > is no connection b/w Ant and CVS. Ant is a build > mechanism (have you read > the docs on http://jakarta.apache.org/ant/ ?) > > Eclipse also supports ant. Simply right-click on > build.xml, and choose Run > Ant. That should create the release in the > distribution directory. The check > under your eclipse workspace, and navigate to the > directory (or if its > easier for you, do a search for zip files in windows > titled htmlparser* ). > > Regards, > Somik > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Htmlparser-user mailing list > Htm...@li... > https://lists.sourceforge.net/lists/listinfo/htmlparser-user __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |
From: Somik R. <so...@ya...> - 2002-12-28 03:55:51
|
Hi Navid, Im really sorry - these questions don't belong on the htmlparser list - you should be asking eclipse questions on the newsgroup (check www.eclipse.org) - they are very responsive, and your questions will get archived in their system, helping other eclipse newbies as well, just as htmlparser questions get archived in this list. Eclipse comes with a lot of quality documentation (in the Help menu). > I still cann't do it. I installed ANT on my windows > XP. Then using Eclipse, I logged to CVS > Repositories, > there by clicking on HEAD, and then htmlparser, I > could see another set of folders and also build.xml > 1.24. > I right click on xml file, but could not RUN ANT did > not appear!! > May be my Eclipse configuration is wronge, or I am > on > wronge path!! Well - you've got to check out the project. Right Click, and choose Check out As. The choose java project. Then, give a name to your project, and create a source folder (add new folders). It will prompt you for bin, and you can accept that. Once its checked out, you will see the build.xml in your workspace. Right-click here and you should be able to run it. > It looks kind of complecated now, but I will learn > it > any way. Any suggestion will be appreciated. The best suggestion from me is - get on the ant mailing list - post after you've checked the docs and the mailing list archives. The same goes for eclipse. Feel free to post htmlparser related questions on this list. Regards, Somik __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |
From: Navid H.L. <na...@ya...> - 2002-12-30 23:54:14
|
Hi Somik, Thank you very much. It was very clear and really helped. And next time I will be more carful about my question to be topic related. Happy New Year! Regards, Navid --- Somik Raha <so...@ya...> wrote: > Hi Navid, > Im really sorry - these questions don't belong on > the htmlparser list - you should be asking eclipse > questions on the newsgroup (check www.eclipse.org) - > they are very responsive, and your questions will > get > archived in their system, helping other eclipse > newbies as well, just as htmlparser questions get > archived in this list. Eclipse comes with a lot of > quality documentation (in the Help menu). > > > I still cann't do it. I installed ANT on my > windows > > XP. Then using Eclipse, I logged to CVS > > Repositories, > > there by clicking on HEAD, and then htmlparser, I > > could see another set of folders and also > build.xml > > 1.24. > > I right click on xml file, but could not RUN ANT > did > > not appear!! > > May be my Eclipse configuration is wronge, or I am > > on > > wronge path!! > > Well - you've got to check out the project. Right > Click, and choose Check out As. The choose java > project. Then, give a name to your project, and > create > a source folder (add new folders). It will prompt > you > for bin, and you can accept that. Once its checked > out, you will see the build.xml in your workspace. > Right-click here and you should be able to run it. > > > It looks kind of complecated now, but I will learn > > it > > any way. Any suggestion will be appreciated. > > The best suggestion from me is - get on the ant > mailing list - post after you've checked the docs > and > the mailing list archives. The same goes for > eclipse. > > Feel free to post htmlparser related questions on > this > list. > > Regards, > Somik > > __________________________________________________ > Do you Yahoo!? > Yahoo! Mail Plus - Powerful. Affordable. Sign up > now. > http://mailplus.yahoo.com > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Htmlparser-user mailing list > Htm...@li... > https://lists.sourceforge.net/lists/listinfo/htmlparser-user __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |