Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #24016 > unrolled thread

Some questions on Ant

Started bysubhabangalore@gmail.com
First post2013-05-12 12:40 -0700
Last post2013-05-17 14:51 -0700
Articles 20 on this page of 30 — 7 participants

Back to article view | Back to comp.lang.java.programmer


Contents

  Some questions on Ant subhabangalore@gmail.com - 2013-05-12 12:40 -0700
    Re: Some questions on Ant Arne Vajhøj <arne@vajhoej.dk> - 2013-05-12 15:57 -0400
    Re: Some questions on Ant Jeff Higgins <jeff@invalid.invalid> - 2013-05-13 09:28 -0400
      Re: Some questions on Ant subhabangalore@gmail.com - 2013-05-13 07:25 -0700
        Re: Some questions on Ant Jeff Higgins <jeff@invalid.invalid> - 2013-05-13 13:47 -0400
          Re: Some questions on Ant Arne Vajhøj <arne@vajhoej.dk> - 2013-05-13 19:07 -0400
    Re: Some questions on Ant subhabangalore@gmail.com - 2013-05-13 15:01 -0700
      Re: Some questions on Ant Lew <lewbloch@gmail.com> - 2013-05-13 16:05 -0700
    Re: Some questions on Ant subhabangalore@gmail.com - 2013-05-13 16:38 -0700
      Re: Some questions on Ant Arne Vajhøj <arne@vajhoej.dk> - 2013-05-13 20:19 -0400
        Re: Some questions on Ant Lew <lewbloch@gmail.com> - 2013-05-13 17:24 -0700
      Re: Some questions on Ant Lew <lewbloch@gmail.com> - 2013-05-13 17:21 -0700
      Re: Some questions on Ant lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-05-14 09:43 +0100
    Re: Some questions on Ant subhabangalore@gmail.com - 2013-05-14 07:19 -0700
      Re: Some questions on Ant Lew <lewbloch@gmail.com> - 2013-05-14 11:21 -0700
        Re: Some questions on Ant subhabangalore@gmail.com - 2013-05-14 12:30 -0700
          Re: Some questions on Ant Lew <lewbloch@gmail.com> - 2013-05-14 13:08 -0700
            Re: Some questions on Ant subhabangalore@gmail.com - 2013-05-15 12:15 -0700
              Re: Some questions on Ant Lew <lewbloch@gmail.com> - 2013-05-15 12:38 -0700
                Re: Some questions on Ant subhabangalore@gmail.com - 2013-05-15 13:27 -0700
                  Re: Some questions on Ant Joerg Meier <joergmmeier@arcor.de> - 2013-05-16 00:02 +0200
                    Re: Some questions on Ant subhabangalore@gmail.com - 2013-05-15 23:12 -0700
                      Re: Some questions on Ant Joerg Meier <joergmmeier@arcor.de> - 2013-05-16 10:20 +0200
                        Re: Some questions on Ant subhabangalore@gmail.com - 2013-05-16 01:33 -0700
                          Re: Some questions on Ant JLP <JLP@jlp.com> - 2013-05-16 11:25 +0200
                            Re: Some questions on Ant subhabangalore@gmail.com - 2013-05-16 03:08 -0700
                              Re: Some questions on Ant Joerg Meier <joergmmeier@arcor.de> - 2013-05-16 12:45 +0200
                                Re: Some questions on Ant subhabangalore@gmail.com - 2013-05-16 04:04 -0700
                                  Re: Some questions on Ant subhabangalore@gmail.com - 2013-05-16 13:26 -0700
    Re: Some questions on Ant subhabangalore@gmail.com - 2013-05-17 14:51 -0700

Page 1 of 2  [1] 2  Next page →


#24016 — Some questions on Ant

Fromsubhabangalore@gmail.com
Date2013-05-12 12:40 -0700
SubjectSome questions on Ant
Message-ID<b1c67425-100c-4249-9cb3-01759359d305@googlegroups.com>
Dear Room,

I was trying to learn Apache Ant. 

I got the following information.

i)Ant is a build tool, it helps to create .exe file.
ii) Compiling is a subtask of building.

Now,
I am confused with few questions.

I was exploring the "Ant build" in Eclipse.

I could create one "build.xml" and could run successfully. 

The questions are:
i) May I have to write the the "build.xml" or a build file everytime I want to build a project? Can't it be done automatic, means the generation of the .xml file?

ii) After the "build.xml" gives report like,

Hello:
     [echo] Hello
BUILD SUCCESSFUL
Total time: 477 milliseconds

Where may I find .exe file? And how should I use it?

If any one of the learned members can kindly suggest?

Regards,
Subhabrata. 


 

[toc] | [next] | [standalone]


#24017

FromArne Vajhøj <arne@vajhoej.dk>
Date2013-05-12 15:57 -0400
Message-ID<518ff41e$0$32110$14726298@news.sunsite.dk>
In reply to#24016
On 5/12/2013 3:40 PM, subhabangalore@gmail.com wrote:
> I was trying to learn Apache Ant.
>
> I got the following information.
>
> i)Ant is a build tool, it helps to create .exe file.

You usually don't have exe files in Java, so it helps create
jar/war/ear/rar files. And many other things.

> ii) Compiling is a subtask of building.
>
> Now,
> I am confused with few questions.
>
> I was exploring the "Ant build" in Eclipse.
>
> I could create one "build.xml" and could run successfully.
>
> The questions are:
> i) May I have to write the the "build.xml" or a build file everytime I want to build a project? Can't it be done automatic, means the generation of the .xml file?

With the right content then you can reuse the same build.xml for
multiple projects as long as they are similar and simple. For bigger
project you typical need some custom work.

> ii) After the "build.xml" gives report like,
>
> Hello:
>       [echo] Hello
> BUILD SUCCESSFUL
> Total time: 477 milliseconds
>
> Where may I find .exe file? And how should I use it?

Java is not build to exe files.

You can use the jar task to build a jar file.

And it will be located where you tell ant to put it.

Arne

[toc] | [prev] | [next] | [standalone]


#24032

FromJeff Higgins <jeff@invalid.invalid>
Date2013-05-13 09:28 -0400
Message-ID<kmqpi0$una$1@dont-email.me>
In reply to#24016
On 05/12/2013 03:40 PM, subhabangalore@gmail.com wrote:
> Dear Room,
>
> I was trying to learn Apache Ant.
>
> I got the following information.
>
> i)Ant is a build tool, it helps to create .exe file.
> ii) Compiling is a subtask of building.
>
> Now,
> I am confused with few questions.
>
> I was exploring the "Ant build" in Eclipse.
>
> I could create one "build.xml" and could run successfully.
>
> The questions are:
> i) May I have to write the the "build.xml" or a build file everytime I want to build a project? Can't it be done automatic, means the generation of the .xml file?
>
> ii) After the "build.xml" gives report like,
>
> Hello:
>       [echo] Hello
> BUILD SUCCESSFUL
> Total time: 477 milliseconds
>
> Where may I find .exe file? And how should I use it?
>
> If any one of the learned members can kindly suggest?
>

The Java Tutorials > Deployment > Lesson: Packaging Programs in JAR Files
http://docs.oracle.com/javase/tutorial/deployment/jar/index.html

Workbench User Guide > Getting started > Ant & external tools tutorial
http://help.eclipse.org/juno/topic/org.eclipse.platform.doc.user/gettingStarted/qs-80_ant.htm?cp=0_1_2

LingPipe Home Page > Docs > Tutorials > Eclipse
http://alias-i.com/lingpipe/demos/tutorial/eclipse/read-me.html

Welcome to the Ant Wiki
http://wiki.apache.org/ant/FrontPage

Apache Ant Manual
http://ant.apache.org/manual/index.html

Apache Ant Resources
http://ant.apache.org/resources.html

[toc] | [prev] | [next] | [standalone]


#24033

Fromsubhabangalore@gmail.com
Date2013-05-13 07:25 -0700
Message-ID<4d592066-d3c5-4d96-afc1-87a67626d159@googlegroups.com>
In reply to#24032
On Monday, May 13, 2013 6:58:30 PM UTC+5:30, Jeff Higgins wrote:
> On 05/12/2013 03:40 PM, subhabangalore@gmail.com wrote:
> 
> > Dear Room,
> 
> >
> 
> > I was trying to learn Apache Ant.
> 
> >
> 
> > I got the following information.
> 
> >
> 
> > i)Ant is a build tool, it helps to create .exe file.
> 
> > ii) Compiling is a subtask of building.
> 
> >
> 
> > Now,
> 
> > I am confused with few questions.
> 
> >
> 
> > I was exploring the "Ant build" in Eclipse.
> 
> >
> 
> > I could create one "build.xml" and could run successfully.
> 
> >
> 
> > The questions are:
> 
> > i) May I have to write the the "build.xml" or a build file everytime I want to build a project? Can't it be done automatic, means the generation of the .xml file?
> 
> >
> 
> > ii) After the "build.xml" gives report like,
> 
> >
> 
> > Hello:
> 
> >       [echo] Hello
> 
> > BUILD SUCCESSFUL
> 
> > Total time: 477 milliseconds
> 
> >
> 
> > Where may I find .exe file? And how should I use it?
> 
> >
> 
> > If any one of the learned members can kindly suggest?
> 
> >
> 
> 
> 
> The Java Tutorials > Deployment > Lesson: Packaging Programs in JAR Files
> 
> http://docs.oracle.com/javase/tutorial/deployment/jar/index.html
> 
> 
> 
> Workbench User Guide > Getting started > Ant & external tools tutorial
> 
> http://help.eclipse.org/juno/topic/org.eclipse.platform.doc.user/gettingStarted/qs-80_ant.htm?cp=0_1_2
> 
> 
> 
> LingPipe Home Page > Docs > Tutorials > Eclipse
> 
> http://alias-i.com/lingpipe/demos/tutorial/eclipse/read-me.html
> 
> 
> 
> Welcome to the Ant Wiki
> 
> http://wiki.apache.org/ant/FrontPage
> 
> 
> 
> Apache Ant Manual
> 
> http://ant.apache.org/manual/index.html
> 
> 
> 
> Apache Ant Resources
> 
> http://ant.apache.org/resources.html

Thanks. I am checking the things. I found Lingpipe already has "build.xml" then why the room is asking me to get along with it, the other question pondering me it is not running like the one I experimented it is giving error as, BUILD FAILED
C:\Users\subhabrata\Documents\lingpipe-4.1.0.tar\lingpipe-4.1.0\build.xml:50: Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK.
It is currently set to "C:\Program Files\Java\jre7"

Total time: 896 milliseconds

Regards,
Subhabrata. 

[toc] | [prev] | [next] | [standalone]


#24036

FromJeff Higgins <jeff@invalid.invalid>
Date2013-05-13 13:47 -0400
Message-ID<kmr8n3$tfe$1@dont-email.me>
In reply to#24033
On 05/13/2013 10:25 AM, subhabangalore@gmail.com wrote:
> On Monday, May 13, 2013 6:58:30 PM UTC+5:30, Jeff Higgins wrote:
>> On 05/12/2013 03:40 PM, subhabangalore@gmail.com wrote:
>>
>>> Dear Room,
>>> I was trying to learn Apache Ant.

>
> Thanks. I am checking the things. I found Lingpipe already has "build.xml" then why the room is asking me to get along with it,

I think the other respondents have suggested you need more
experience with the Java programming environment. I agree.


  the other question pondering me it is not running like the one I 
experimented it is giving error as, BUILD FAILED
> C:\Users\subhabrata\Documents\lingpipe-4.1.0.tar\lingpipe-4.1.0\build.xml:50: Unable to find a javac compiler;
> com.sun.tools.javac.Main is not on the classpath.
> Perhaps JAVA_HOME does not point to the JDK.
> It is currently set to "C:\Program Files\Java\jre7"
>
> Total time: 896 milliseconds
>

Setting the class path
<http://docs.oracle.com/javase/7/docs/technotes/tools/windows/classpath.html>

[toc] | [prev] | [next] | [standalone]


#24043

FromArne Vajhøj <arne@vajhoej.dk>
Date2013-05-13 19:07 -0400
Message-ID<51917241$0$32104$14726298@news.sunsite.dk>
In reply to#24036
On 5/13/2013 1:47 PM, Jeff Higgins wrote:
> On 05/13/2013 10:25 AM, subhabangalore@gmail.com wrote:
>> On Monday, May 13, 2013 6:58:30 PM UTC+5:30, Jeff Higgins wrote:
>>> On 05/12/2013 03:40 PM, subhabangalore@gmail.com wrote:
>>>> I was trying to learn Apache Ant.
>
>>
>> Thanks. I am checking the things. I found Lingpipe already has
>> "build.xml" then why the room is asking me to get along with it,
>
> I think the other respondents have suggested you need more
> experience with the Java programming environment. I agree.
>
>
>   the other question pondering me it is not running like the one I
> experimented it is giving error as, BUILD FAILED
>> C:\Users\subhabrata\Documents\lingpipe-4.1.0.tar\lingpipe-4.1.0\build.xml:50:
>> Unable to find a javac compiler;
>> com.sun.tools.javac.Main is not on the classpath.
>> Perhaps JAVA_HOME does not point to the JDK.
>> It is currently set to "C:\Program Files\Java\jre7"
>>
>> Total time: 896 milliseconds
>>
>
> Setting the class path
> <http://docs.oracle.com/javase/7/docs/technotes/tools/windows/classpath.html>

Usually you can run ant without setting classpath to Java.

Arne

[toc] | [prev] | [next] | [standalone]


#24040

Fromsubhabangalore@gmail.com
Date2013-05-13 15:01 -0700
Message-ID<74735dec-b18d-4998-a04b-466d5f64c614@googlegroups.com>
In reply to#24016
On Monday, May 13, 2013 1:10:31 AM UTC+5:30, subhaba...@gmail.com wrote:
> Dear Room,
> 
> 
> 
> I was trying to learn Apache Ant. 
> 
> 
> 
> I got the following information.
> 
> 
> 
> i)Ant is a build tool, it helps to create .exe file.
> 
> ii) Compiling is a subtask of building.
> 
> 
> 
> Now,
> 
> I am confused with few questions.
> 
> 
> 
> I was exploring the "Ant build" in Eclipse.
> 
> 
> 
> I could create one "build.xml" and could run successfully. 
> 
> 
> 
> The questions are:
> 
> i) May I have to write the the "build.xml" or a build file everytime I want to build a project? Can't it be done automatic, means the generation of the .xml file?
> 
> 
> 
> ii) After the "build.xml" gives report like,
> 
> 
> 
> Hello:
> 
>      [echo] Hello
> 
> BUILD SUCCESSFUL
> 
> Total time: 477 milliseconds
> 
> 
> 
> Where may I find .exe file? And how should I use it?
> 
> 
> 
> If any one of the learned members can kindly suggest?
> 
> 
> 
> Regards,
> 
> Subhabrata.

Dear Sir,
That is okay. I could place ant properly my machine can recognize ant in command prompt. Other than this as Sujit suggested I could run Lingpipe demo from command prompt. As you are kindly teaching me let me learn it too. I tried it but got the following error, I am trying still let me see where I land tomorrow evening.
entation.htm
11/19/2012  12:05 AM    <DIR>          nltk_classify_naivebayes - NLTK 2_0 docum
entation_files
07/30/2012  11:49 PM         8,785,560 NortonOnlineBackup.exe
09/03/2012  10:41 PM           154,850 Note on Forward and Backward Probabilitie
s.pdf
08/11/2012  02:49 PM           270,538 NumPy - Wikipedia, the free encyclopedia.
mht
08/12/2012  04:24 PM           386,539 Numpy and Scipy.pdf
08/12/2012  04:24 PM           334,394 Numpy and Scipy1.pdf
08/11/2012  02:50 PM           135,679 Numpy Introduction - MantidProject.mht
07/24/2012  11:16 PM         9,047,263 Numpy Reference.pdf
08/11/2012  01:53 PM           545,419 Numpy Tutorial New.htm
08/11/2012  01:53 PM    <DIR>          Numpy Tutorial New_files
07/29/2012  10:34 PM            84,282 Numpy Tutorial.htm
08/11/2012  02:47 PM           624,155 Numpy Tutorial2.pdf
07/29/2012  10:34 PM    <DIR>          Numpy Tutorial_files
08/11/2012  03:15 PM         2,148,630 numpybook.pdf
08/04/2012  03:56 PM           201,940 Object-Oriented Python - Wikiversity.mht
02/23/2013  12:58 AM            20,276 Official Website of Kumbh Mela 2013 Allah
abad Uttar Pradesh India.htm
09/04/2012  07:47 PM            69,333 Online shop order o62747958 confirmation
- Vodafone.htm
09/04/2012  07:47 PM    <DIR>          Online shop order o62747958 confirmation
- Vodafone_files
09/16/2012  11:48 AM            89,944 Parse Tree of Indian NLP NLTK.docx
01/11/2013  01:10 AM         7,914,378 Partioning Tutorial Networkx.pdf
02/08/2013  04:27 PM    <DIR>          Passport
03/04/2013  12:07 AM           847,512 Passport Application.pdf
03/04/2013  12:07 AM             7,615 Passport Application_data.xml
11/11/2012  01:29 PM           220,301 PCI_Code.zip
09/21/2012  08:07 PM            75,077 Personal Hygiene - How To Information  eH
ow_com.htm
09/21/2012  08:07 PM    <DIR>          Personal Hygiene - How To Information  eH
ow_com_files
09/03/2012  08:39 PM             9,821 Philip Jackson  HMM tutorial.htm
09/03/2012  08:39 PM    <DIR>          Philip Jackson  HMM tutorial_files
07/07/2012  11:55 PM             5,214 Phone Number 040-27111123, Telephone Numb
er 040-27111123.htm
07/07/2012  11:55 PM    <DIR>          Phone Number 040-27111123, Telephone Numb
er 040-27111123_files
12/11/2012  01:51 AM             2,743 Plotting Error2.txt
11/12/2012  07:49 PM         2,068,049 PsychoPyManual.pdf
12/11/2012  01:51 AM             2,146 Pylab Error1.txt
08/11/2012  03:15 PM           316,631 python - How to calculate the statistics
t-test with numpy - Stack Overflow.mht
08/04/2012  03:54 PM            37,484 Python - Object Oriented.htm
08/04/2012  03:54 PM    <DIR>          Python - Object Oriented_files
08/11/2012  03:16 PM           327,788 python - Statistics with numpy - Stack Ov
erflow.mht
10/08/2012  11:32 PM            17,758 Python Course Text Classification in Pyth
on.htm
10/08/2012  11:32 PM    <DIR>          Python Course Text Classification in Pyth
on_files
08/03/2012  11:11 PM            13,382 Python Group Answer.docx
08/11/2012  05:02 PM           638,750 Python in Big Data with an overview of Nu
mPy and SciPy - CS101.mht
07/24/2012  11:22 PM         1,356,084 Python Interactive Tutorial.pdf
07/28/2012  02:29 AM           223,138 Python Machine Learning Software List.mht

04/22/2013  11:16 AM               132 Python Revision1.txt
07/28/2012  09:36 AM            84,939 PythonForArtificialIntelligence - PythonI
nfo Wiki.mht
08/11/2012  03:26 PM           781,907 python_matlab Numpy.pdf
03/06/2013  09:36 AM                40 Query.txt
09/15/2012  10:44 PM            32,405 Questions on NLTK Use.rtf
02/12/2013  01:14 AM    <DIR>          R
11/15/2012  08:04 PM             3,642 R1
11/13/2012  11:02 AM                 0 record.lis
08/27/2012  10:46 PM           422,916 Result of 100 documents with any document
 revision.txt
11/11/2012  01:23 PM            12,147 Reverend-0.4.tar.gz
07/28/2012  09:59 AM               163 Review of Machine Learning Toolkit in Pyt
hon.txt
01/08/2013  10:44 PM               214 Revised algorithm1.txt
05/08/2013  12:59 AM            60,928 Rough1.doc
05/08/2013  01:01 AM            93,184 Rough2.doc
05/08/2013  01:41 AM            50,726 Rough3.docx
04/05/2013  01:08 AM           173,092 Salmon Run  A HMM based Gene Tagger using
 NLTK.htm
12/27/2012  10:47 PM    <DIR>          samsung
07/24/2012  07:51 PM                28 sbicardpwd.txt
05/08/2013  02:52 AM               363 Sbicardpwd1.txt
08/12/2012  04:26 PM           703,070 Scientific Computing with SciPy_php.mht
07/27/2012  09:10 PM           100,288 Scipy  high-level scientific computing -
Euroscipy 2010 tutorials.htm
07/27/2012  09:10 PM    <DIR>          Scipy  high-level scientific computing -
Euroscipy 2010 tutorials_files
08/12/2012  04:31 PM           192,012 SciPy - OpenOpt.mht
07/24/2012  11:14 PM           112,870 SciPy Course Outline.htm
07/24/2012  11:21 PM         6,725,634 SciPy Reference.pdf
08/12/2012  04:18 PM            84,322 SciPy Tutorial -.htm
08/12/2012  04:18 PM    <DIR>          SciPy Tutorial -_files
08/12/2012  04:18 PM           337,195 SciPy Tutorial.htm
08/12/2012  04:25 PM           144,427 Scipy Tutorial.pdf
08/11/2012  02:49 PM           386,539 Scipy Tutorial1.pdf
08/12/2012  04:18 PM    <DIR>          SciPy Tutorial_files
08/12/2012  04:43 PM           293,163 scipy « Natural Language Processing Musin
gs.mht
08/12/2012  04:43 PM            13,939 scipy - My programming and machine learni
ng blog.htm
08/12/2012  04:43 PM    <DIR>          scipy - My programming and machine learni
ng blog_files
08/12/2012  04:23 PM         1,447,210 Scipy.pdf
11/13/2012  02:05 AM         1,046,828 SciTools Manual.pdf
12/14/2012  09:46 PM           204,436 Semantic_network.htm
12/14/2012  09:46 PM    <DIR>          Semantic_network_files
12/14/2012  09:46 PM           255,821 Semantic_Web.htm
12/14/2012  09:46 PM    <DIR>          Semantic_Web_files
07/27/2012  09:05 PM           923,268 Simple statistics with SciPy  Comfort at
1 AU.mht
05/07/2013  10:58 PM            80,470 Skull Shining Breathing Technique _ Kapal
 Bhati Pranayama _ The Art Of Living Global.htm
06/19/2012  09:45 PM           348,093 Speech - Wikipedia, the free encyclopedia
.mht
09/02/2012  01:29 AM        12,924,341 Stanford Machine Learning Book.pdf
04/04/2013  06:41 PM                92 start1.cc
04/04/2013  06:40 PM                66 start1.cpp
04/04/2013  06:42 PM         6,557,987 start1.exe
08/12/2012  04:31 PM           655,947 Statistical analysis made easy in Python
 Scipy Randal S_ Olson.mht
08/12/2012  04:33 PM           117,230 Statistical Data Structures with Scipy.pd
f
08/12/2012  04:32 PM           152,888 StatisticalDataStructures -.mht
01/28/2013  11:14 PM           146,788 Statistics (scipy.stats) - SciPy v0.11 Re
ference Guide (DRAFT).htm
01/28/2013  11:14 PM    <DIR>          Statistics (scipy.stats) - SciPy v0.11 Re
ference Guide (DRAFT)_files
08/11/2012  03:18 PM            29,691 Statistics and linear regression - python
 v0_1 documentation.htm
08/11/2012  03:18 PM    <DIR>          Statistics and linear regression - python
 v0_1 documentation_files
08/11/2012  03:17 PM            38,606 Statistics with Numpy.htm
08/11/2012  03:17 PM    <DIR>          Statistics with Numpy_files
08/12/2012  04:28 PM           275,999 Statistics with Scipy1.pdf
08/12/2012  04:29 PM           176,788 Statistics with Scipy2.pdf
02/21/2013  01:24 AM               397 Status Evaluation.txt
12/21/2012  10:45 PM               398 Stock Data1.txt
12/15/2012  01:14 AM            14,154 Study Qs.docx
08/12/2012  04:43 PM           316,021 Support for SciPy in NLTK's Maximum Entro
py methods « Natural Language Processing Musings.mht
02/16/2013  11:18 AM            13,392 SVM.docx
10/04/2012  07:45 PM               148 SVO Algorithm.txt
12/19/2012  02:02 AM             2,176 SVO EXTRACTION2.py
12/19/2012  02:07 AM             2,218 SVO EXTRACTION3.py
12/18/2012  11:51 PM               834 SVOExtraction1.py
12/19/2012  01:36 AM             1,425 SVOExtraction2.py
06/16/2012  10:36 PM    <DIR>          Symantec
04/05/2013  01:14 AM            56,715 Taggers HMM Huihoo.htm
04/29/2013  01:00 AM               238 TCS Plan.txt
07/24/2012  11:04 PM           449,274 Tentative_NumPy_Tutorial.pdf
07/16/2012  01:01 AM            14,067 testmultidoctest.txt
07/28/2012  12:34 AM         3,147,818 Text Chunking Using NLTK.pdf
08/05/2012  02:12 PM           295,629 The Maharaja Railways of India - Wikipedi
a, the free encyclopedia_29.mht
08/13/2012  09:49 AM             2,072 The Synonym Generation.txt
07/31/2012  01:12 AM            13,739 Titting 17.docx
12/18/2012  07:04 PM    <DIR>          TKInter Tutorial
09/08/2012  01:02 AM           316,882 Tokenizing large (70MB) TXT file using Py
thon NLTK_ Concatenation & write data to stream errors - Stack Overflow.mht
09/03/2012  10:44 PM            13,909 Understanding CRF.docx
09/03/2012  10:42 PM            14,691 Understanding HMM.docx
12/29/2012  09:59 PM           108,428 Understanding Link Analysis From The Anal
ytic WorkshopUnderstanding Link Analysis.htm
12/29/2012  09:59 PM    <DIR>          Understanding Link Analysis From The Anal
ytic WorkshopUnderstanding Link Analysis_files
09/02/2012  09:24 PM            15,917 Understanding Naïve Bayes.docx
03/01/2013  03:05 AM               223 UNL CUP500.txt
12/15/2012  01:31 PM            13,793 UNL QUESTIONS.docx
01/06/2013  02:03 PM               277 VA Mesh CleanUp Review.txt
01/07/2013  11:24 PM            38,279 Valerie_text1.htm
01/07/2013  11:24 PM    <DIR>          Valerie_text1_files
12/29/2012  10:21 PM            82,210 Visual Analytics .org _ Truth is a pathle
ss land. -JK.htm
12/29/2012  10:21 PM    <DIR>          Visual Analytics .org _ Truth is a pathle
ss land. -JK_files
12/29/2012  09:11 PM         1,944,867 Visual Analytics Cross Check Paper1.pdf
12/29/2012  09:18 PM         1,293,471 Visual Analytics Cross Check Paper2.pdf
12/29/2012  09:23 PM         1,572,290 Visual Analytics Cross Check Paper3.pdf
09/24/2012  08:01 PM            14,462 VIVA TOPICS.docx
08/12/2012  04:19 PM            90,507 Weave -.mht
11/24/2012  04:10 PM             1,035 Welcome to ICDM IEEE International Confer
ence on Data Mining!.htm
11/24/2012  04:10 PM    <DIR>          Welcome to ICDM IEEE International Confer
ence on Data Mining!_files
12/14/2012  09:42 PM           245,151 WordNet.htm
12/14/2012  09:42 PM    <DIR>          WordNet_files
09/09/2012  11:04 AM           163,056 Wrong Google Interface.docx
09/21/2012  08:08 PM            42,283 Young Adult Health - Health Topics - Skin
 care.htm
09/21/2012  08:08 PM    <DIR>          Young Adult Health - Health Topics - Skin
 care_files
09/04/2012  12:00 AM       103,471,306 Zurafsky_Martin_Speech.xps
08/12/2012  04:32 PM            11,028 [SciPy-user] Stepwise Discriminant Analys
is.htm
08/03/2012  12:09 AM             3,401 [Tutor] sys_argv.htm
             266 File(s)    294,060,071 bytes
              86 Dir(s)  416,011,706,368 bytes free

C:\Users\subhabrata\Documents>cd lingpipe-4.1.0.tar

C:\Users\subhabrata\Documents\lingpipe-4.1.0.tar>dir
 Volume in drive C is Acer
 Volume Serial Number is 7A35-B119

 Directory of C:\Users\subhabrata\Documents\lingpipe-4.1.0.tar

04/12/2013  11:53 PM    <DIR>          .
04/12/2013  11:53 PM    <DIR>          ..
04/13/2013  12:00 AM    <DIR>          lingpipe-4.1.0
               0 File(s)              0 bytes
               3 Dir(s)  416,394,264,576 bytes free

C:\Users\subhabrata\Documents\lingpipe-4.1.0.tar>cd lingpipe-4.1.0

C:\Users\subhabrata\Documents\lingpipe-4.1.0.tar\lingpipe-4.1.0>dir
 Volume in drive C is Acer
 Volume Serial Number is 7A35-B119

 Directory of C:\Users\subhabrata\Documents\lingpipe-4.1.0.tar\lingpipe-4.1.0

04/13/2013  12:00 AM    <DIR>          .
04/13/2013  12:00 AM    <DIR>          ..
04/13/2013  12:00 AM    <DIR>          build
06/24/2011  04:54 AM            10,369 build.xml
04/12/2013  11:53 PM    <DIR>          demos
04/12/2013  11:53 PM    <DIR>          docs
06/24/2011  04:54 AM             8,063 index.html
04/12/2013  11:53 PM    <DIR>          lib
04/12/2013  11:53 PM    <DIR>          licenses
06/24/2011  04:57 AM         1,038,954 lingpipe-4.1.0.jar
06/24/2011  04:54 AM             4,512 read-me.html
05/14/2013  12:37 AM    <DIR>          src
04/12/2013  11:53 PM    <DIR>          web
               4 File(s)      1,061,898 bytes
               9 Dir(s)  416,392,859,648 bytes free

C:\Users\subhabrata\Documents\lingpipe-4.1.0.tar\lingpipe-4.1.0>ant build.xml
Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre7\li
b\tools.jar
Buildfile: C:\Users\subhabrata\Documents\lingpipe-4.1.0.tar\lingpipe-4.1.0\build
.xml

BUILD FAILED
Target "build.xml" does not exist in the project "Alias-i LingPipe".

Total time: 1 second

C:\Users\subhabrata\Documents\lingpipe-4.1.0.tar\lingpipe-4.1.0>cd build

C:\Users\subhabrata\Documents\lingpipe-4.1.0.tar\lingpipe-4.1.0\build>dir
 Volume in drive C is Acer
 Volume Serial Number is 7A35-B119

 Directory of C:\Users\subhabrata\Documents\lingpipe-4.1.0.tar\lingpipe-4.1.0\bu
ild

04/13/2013  12:00 AM    <DIR>          .
04/13/2013  12:00 AM    <DIR>          ..
05/14/2013  01:23 AM    <DIR>          classes
               0 File(s)              0 bytes
               3 Dir(s)  416,385,576,960 bytes free

C:\Users\subhabrata\Documents\lingpipe-4.1.0.tar\lingpipe-4.1.0\build>cd..

C:\Users\subhabrata\Documents\lingpipe-4.1.0.tar\lingpipe-4.1.0>cd demos

C:\Users\subhabrata\Documents\lingpipe-4.1.0.tar\lingpipe-4.1.0\demos>dir
 Volume in drive C is Acer
 Volume Serial Number is 7A35-B119

 Directory of C:\Users\subhabrata\Documents\lingpipe-4.1.0.tar\lingpipe-4.1.0\de
mos

04/12/2013  11:53 PM    <DIR>          .
04/12/2013  11:53 PM    <DIR>          ..
04/08/2009  08:29 PM               432 build.xml
04/12/2013  11:53 PM    <DIR>          data
04/12/2013  11:53 PM    <DIR>          generic
04/12/2013  11:53 PM    <DIR>          lib
04/12/2013  11:53 PM    <DIR>          licenses
04/12/2013  11:53 PM    <DIR>          models
04/12/2013  11:53 PM    <DIR>          tutorial
               1 File(s)            432 bytes
               8 Dir(s)  416,382,824,448 bytes free

C:\Users\subhabrata\Documents\lingpipe-4.1.0.tar\lingpipe-4.1.0\demos>ant build.
xml
Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre7\li
b\tools.jar
Buildfile: C:\Users\subhabrata\Documents\lingpipe-4.1.0.tar\lingpipe-4.1.0\demos
\build.xml

BUILD FAILED
Target "build.xml" does not exist in the project "Alias-i LingPipe Demos Build".


Total time: 0 seconds

C:\Users\subhabrata\Documents\lingpipe-4.1.0.tar\lingpipe-4.1.0\demos>

Regards,
Subhabrata.

[toc] | [prev] | [next] | [standalone]


#24042

FromLew <lewbloch@gmail.com>
Date2013-05-13 16:05 -0700
Message-ID<24f08f33-41c0-45d2-ae18-a984974d62ff@googlegroups.com>
In reply to#24040
subhaba...@gmail.com wrote:
>> Dear Room,

"Room" is the wrong term.

"Group", "people", "fellow programmers", ...

>> I was trying to learn Apache Ant. 

Have you read the instructions?

>> I got the following information.
>>
>> i)Ant is a build tool, it helps to create .exe file.

Wrong. It is a build tool, but it is not to build an EXE file.

>> ii) Compiling is a subtask of building.
>> 
>> Now,
>> I am confused with few questions.
>> 
>> I was exploring the "Ant build" in Eclipse.
> 
> I could create one "build.xml" and could run successfully. 
>> 
>> The questions are:
>> 
>> i) May I have to write the the "build.xml" or a build file everytime I want to build a project?

No, but every time you create a project or change how it builds you will need to add or modify 
the build.xml.

>> Can't it be done automatic, means the generation of the .xml file?

Not really. You start with a standard build.xml and modify it.

>> ... [snip] ...

> That is okay. I could place ant properly my machine can recognize ant in command prompt. Other than this as Sujit suggested I could run Lingpipe demo from command prompt. As you are kindly teaching me let me learn it too. I tried it but got the following error, I am trying still let me see where I land tomorrow evening.
> 
> entation.htm

What?

> 11/19/2012  12:05 AM    <DIR>          nltk_classify_naivebayes - NLTK 2_0 documentation_files
> 07/30/2012  11:49 PM         8,785,560 NortonOnlineBackup.exe
. . . 
> 08/03/2012  12:09 AM             3,401 [Tutor] sys_argv.htm
>           266 File(s)    294,060,071 bytes
>               86 Dir(s)  416,011,706,368 bytes free

Why are you showing us all that garbage?

> C:\Users\subhabrata\Documents>cd lingpipe-4.1.0.tar

A directory should not be named "whatever.tar".

>  Directory of C:\Users\subhabrata\Documents\lingpipe-4.1.0.tar
> 04/12/2013  11:53 PM    <DIR>          .
> 04/12/2013  11:53 PM    <DIR>          ..
> 04/13/2013  12:00 AM    <DIR>          lingpipe-4.1.0
>                0 File(s)              0 bytes
>                3 Dir(s)  416,394,264,576 bytes free

Why are you showing us this garbage?

> C:\Users\subhabrata\Documents\lingpipe-4.1.0.tar>cd lingpipe-4.1.0
> C:\Users\subhabrata\Documents\lingpipe-4.1.0.tar\lingpipe-4.1.0>dir
>  Volume in drive C is Acer
>  Volume Serial Number is 7A35-B119
> 
>  Directory of C:\Users\subhabrata\Documents\lingpipe-4.1.0.tar\lingpipe-4.1.0
> 04/13/2013  12:00 AM    <DIR>          .
> 04/13/2013  12:00 AM    <DIR>          ..
> 04/13/2013  12:00 AM    <DIR>          build
> 06/24/2011  04:54 AM            10,369 build.xml
> 04/12/2013  11:53 PM    <DIR>          demos
> 04/12/2013  11:53 PM    <DIR>          docs
> 06/24/2011  04:54 AM             8,063 index.html
...

Why are you showing us this garbage?

> C:\Users\subhabrata\Documents\lingpipe-4.1.0.tar\lingpipe-4.1.0>ant build.xml

That's not how you invoke Ant. Read the instructions.

Or type "ant --help" or "ant -h" or "man ant" at the command line.

> Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre7\lib\tools.jar

That's not a JDK. Install the JDK. Ant will not work with only the JRE. You cannot build 
Java files with only the JRE. This is explained on the Java site. You should read the instructions.

> Buildfile: C:\Users\subhabrata\Documents\lingpipe-4.1.0.tar\lingpipe-4.1.0\build
> .xml

You need to fix your broken lines in your posts.

> BUILD FAILED
> Target "build.xml" does not exist in the project "Alias-i LingPipe".

Yes. You did not invoke Ant correctly. 

> Total time: 1 second
> 
> C:\Users\subhabrata\Documents\lingpipe-4.1.0.tar\lingpipe-4.1.0>cd build
> 
> C:\Users\subhabrata\Documents\lingpipe-4.1.0.tar\lingpipe-4.1.0\build>dir
>  Volume in drive C is Acer
>  Volume Serial Number is 7A35-B119
> 
>  Directory of C:\Users\subhabrata\Documents\lingpipe-4.1.0.tar\lingpipe-4.1.0\bu
> ild
> 
> 04/13/2013  12:00 AM    <DIR>          .
> 04/13/2013  12:00 AM    <DIR>          ..
> 05/14/2013  01:23 AM    <DIR>          classes

Why are you showing us this garbage?

> ... [more garbage deleted] ...

-- 
Lew

[toc] | [prev] | [next] | [standalone]


#24045

Fromsubhabangalore@gmail.com
Date2013-05-13 16:38 -0700
Message-ID<8b8c58db-5d3e-41cc-9ac9-b05599fb12c8@googlegroups.com>
In reply to#24016
On Monday, May 13, 2013 1:10:31 AM UTC+5:30, subhaba...@gmail.com wrote:
> Dear Room,
> 
> 
> 
> I was trying to learn Apache Ant. 
> 
> 
> 
> I got the following information.
> 
> 
> 
> i)Ant is a build tool, it helps to create .exe file.
> 
> ii) Compiling is a subtask of building.
> 
> 
> 
> Now,
> 
> I am confused with few questions.
> 
> 
> 
> I was exploring the "Ant build" in Eclipse.
> 
> 
> 
> I could create one "build.xml" and could run successfully. 
> 
> 
> 
> The questions are:
> 
> i) May I have to write the the "build.xml" or a build file everytime I want to build a project? Can't it be done automatic, means the generation of the .xml file?
> 
> 
> 
> ii) After the "build.xml" gives report like,
> 
> 
> 
> Hello:
> 
>      [echo] Hello
> 
> BUILD SUCCESSFUL
> 
> Total time: 477 milliseconds
> 
> 
> 
> Where may I find .exe file? And how should I use it?
> 
> 
> 
> If any one of the learned members can kindly suggest?
> 
> 
> 
> Regards,
> 
> Subhabrata.

Dear Group(Thanks Lew),

I found the error in another library named "MALLET", so trying the following way:

First I changed JAVA_HOME environmental variable to point to C:\Program Files\Java\jdk1.7.0_05\lib\tools.jar

Then I used the following command, 

C:\Program Files\Java\mallet-2.0.7>ant -version
Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre7\lib\tools.jar
Apache Ant(TM) version 1.8.2 compiled on December 20 2010

am I going fine?

Regards,
Subhabrata

NB: Sorry to post garbages, I'll try to keep a check. Thanks for the suggestion.

[toc] | [prev] | [next] | [standalone]


#24046

FromArne Vajhøj <arne@vajhoej.dk>
Date2013-05-13 20:19 -0400
Message-ID<5191832d$0$32104$14726298@news.sunsite.dk>
In reply to#24045
On 5/13/2013 7:38 PM, subhabangalore@gmail.com wrote:
> I found the error in another library named "MALLET", so trying the following way:
>
> First I changed JAVA_HOME environmental variable to point to C:\Program Files\Java\jdk1.7.0_05\lib\tools.jar
>
> Then I used the following command,
>
> C:\Program Files\Java\mallet-2.0.7>ant -version
> Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre7\lib\tools.jar
> Apache Ant(TM) version 1.8.2 compiled on December 20 2010
>
> am I going fine?

JAVA_HOME should point to C:\Program Files\Java\jdk1.7.0_05 not
C:\Program Files\Java\jdk1.7.0_05\lib\tools.jar !

Arne

[toc] | [prev] | [next] | [standalone]


#24048

FromLew <lewbloch@gmail.com>
Date2013-05-13 17:24 -0700
Message-ID<aaa9e860-2e96-4517-a03b-06cea16d0e8a@googlegroups.com>
In reply to#24046
On Monday, May 13, 2013 5:19:58 PM UTC-7, Arne Vajhøj wrote:
> JAVA_HOME should point to C:\Program Files\Java\jdk1.7.0_05 not
> C:\Program Files\Java\jdk1.7.0_05\lib\tools.jar !

Furthermore, OP, you should use a current version of Java. 7u5 is far too old.

The minor upgrades (7u21 is current) cover security and bug fixes. Do you want an insecure 
or buggy version?

-- 
Lew

[toc] | [prev] | [next] | [standalone]


#24047

FromLew <lewbloch@gmail.com>
Date2013-05-13 17:21 -0700
Message-ID<bb2def3e-e765-4daa-a0fc-5ff54f961116@googlegroups.com>
In reply to#24045
On Monday, May 13, 2013 4:38:13 PM UTC-7, subhaba...@gmail.com wrote:
> I found the error in another library named "MALLET", so trying the following way:

Is it spelled exactly that way, in all upper-case letters?

> First I changed JAVA_HOME environmental variable to point to C:\Program Files\Java\jdk1.7.0_05\lib\tools.jar

That is wrong!

JAVA_HOME should indicate the *directory* where you installed the JDK.

It should *not* point to a JAR file.

> Then I used the following command, 
> 
> C:\Program Files\Java\mallet-2.0.7>ant -version

This does not do a build.

> Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre7\lib\tools.jar

That is not where the tools.jar is. It should be in the JDK directory. You have not installed 
the JDK. Why did you ignore the advice to install the JDK?

> Apache Ant(TM) version 1.8.2 compiled on December 20 2010
> 
> am I going fine?

Absolutely not.

Once again, as everyone keeps telling you, READ THE DIRECTIONS!

Install the JDK. Point JAVA_HOME to where the JDK is installed, although it is not strictly needed. 
Keep the JDK command directory, where the "java" and "javac" commands reside, in your PATH.
This command directory will be a subdirectory of the $JAVA_HOME directory, if that environment 
variable is set, or what would be that directory if you don't set the variable.

Read the directions. Try following the advice you get here before asking another question.

-- 
Lew

[toc] | [prev] | [next] | [standalone]


#24054

Fromlipska the kat <"nospam at neversurrender dot co dot uk">
Date2013-05-14 09:43 +0100
Message-ID<5LadnfdRV9rVZAzMnZ2dnUVZ7oqdnZ2d@bt.com>
In reply to#24045
On 14/05/13 00:38, subhabangalore@gmail.com wrote:
> On Monday, May 13, 2013 1:10:31 AM UTC+5:30, subhaba...@gmail.com wrote:
>> Dear Room,
>>
>>
>>
>> I was trying to learn Apache Ant.

[snip]

>> i) May I have to write the the "build.xml" or a build file everytime I want to build a project? Can't it be done automatic, means the generation of the .xml file?

Each project will have it's own Ant build file (at least one).
It is often possible to simply copy an existing file and modify it for a 
different project. Start small, try and get Ant to compile a single 
file, this tells you that all the wiring is correct, then compile a few 
files and package them into a jar file. Work your way up to more and 
more complex builds. Actually I mostly use Ant to package up web 
applications into war files then deploy them to a server. One click 
build and deploy saves an awful lot of time. I generally leave the 
compilation to Eclipse but whatever works for you is fine.

It is possible to configure Ant using properties files
here's a simple tutorial

http://www.tutorialspoint.com/ant/ant_property_files.htm

In this way, you could check a standard build file into source control 
which could then be configured for different build environments by 
creating a local properties file.

lipska

-- 
Lipska the Kat©: Troll hunter, sandbox destroyer
and farscape dreamer of Aeryn Sun

[toc] | [prev] | [next] | [standalone]


#24057

Fromsubhabangalore@gmail.com
Date2013-05-14 07:19 -0700
Message-ID<98e4a5e4-8f31-4f5a-aa3c-66df7493503e@googlegroups.com>
In reply to#24016
On Monday, May 13, 2013 1:10:31 AM UTC+5:30, subhaba...@gmail.com wrote:
> Dear Room,
> 
> 
> 
> I was trying to learn Apache Ant. 
> 
> 
> 
> I got the following information.
> 
> 
> 
> i)Ant is a build tool, it helps to create .exe file.
> 
> ii) Compiling is a subtask of building.
> 
> 
> 
> Now,
> 
> I am confused with few questions.
> 
> 
> 
> I was exploring the "Ant build" in Eclipse.
> 
> 
> 
> I could create one "build.xml" and could run successfully. 
> 
> 
> 
> The questions are:
> 
> i) May I have to write the the "build.xml" or a build file everytime I want to build a project? Can't it be done automatic, means the generation of the .xml file?
> 
> 
> 
> ii) After the "build.xml" gives report like,
> 
> 
> 
> Hello:
> 
>      [echo] Hello
> 
> BUILD SUCCESSFUL
> 
> Total time: 477 milliseconds
> 
> 
> 
> Where may I find .exe file? And how should I use it?
> 
> 
> 
> If any one of the learned members can kindly suggest?
> 
> 
> 
> Regards,
> 
> Subhabrata.

Dear Group,

I read the URL

"http://docs.oracle.com/javase/7/docs/technotes/tools/windows/classpath.h

tml"

I went to Computer--->Properties-->Advanced System Settings-->Environment 

Variables-->ANT_HOME/JAVA_HOME

In JAVA_HOME Variable Value is now:
"C:\Program Files (x86)\Java\jdk1.7.0_21"

Updated to the latest JDK and ported Eclipse also with it.

In ANT_HOME Variable Value is now:
"C:\Program Files\Java\apache-ant-1.9.0"

While installing it tried to follow:
"http://ant.apache.org/manual/install.html"

As I am giving 

C:\>Ant
Buildfile: build.xml does not exist!
Build failed

C:\>ant -version
Apache Ant(TM) version 1.9.0 compiled on March 5 2013

C:\>ant -help
....
....

....
these are working.

Means "So Ant works."("http://ant.apache.org/manual/install.html")

But, as I am giving 
C:\Program Files\Java\mallet-2.0.7>ant

The build is still failed.

I'm checking the things.

I worked out following things:

C:\Users\subhabrata\Documents\lingpipe-4.1.0.tar\lingpipe-4.1.0>ant
Buildfile: C:\Users\subhabrata\Documents\lingpipe-4.1.0.tar\lingpipe-

4.1.0\build
.xml

compile:

BUILD SUCCESSFUL
Total time: 1 second

C:\Users\subhabrata\Documents\lingpipe-4.1.0.tar\lingpipe-4.1.0>



Regards,
Subhabrata. 

[toc] | [prev] | [next] | [standalone]


#24059

FromLew <lewbloch@gmail.com>
Date2013-05-14 11:21 -0700
Message-ID<04616893-b376-43e9-9758-c3f5a44dcb0f@googlegroups.com>
In reply to#24057
subhaba...@...wrote:
> I read the URL
> "http://docs.oracle.com/javase/7/docs/technotes/tools/windows/classpath.h

Your formatting was little messed up on the Interwebz.

> tml"
> 
> I went to Computer--->Properties-->Advanced System Settings-->Environment 
> 
> Variables-->ANT_HOME/JAVA_HOME
> 
> In JAVA_HOME Variable Value is now:
> "C:\Program Files (x86)\Java\jdk1.7.0_21"

Good.

> Updated to the latest JDK and ported Eclipse also with it.
> 
> In ANT_HOME Variable Value is now:
> "C:\Program Files\Java\apache-ant-1.9.0"

Good.

> While installing it tried to follow:
> "http://ant.apache.org/manual/install.html"

Good.

> As I am giving 
> 
> C:\>Ant

That should be spelled "ant". Only the fact that Windows is weird about letter case
saved you there.

> Buildfile: build.xml does not exist!

Read the directions. Where does the "ant" command find its build file?

http://ant.apache.org/manual/running.html#commandline

Read the directions.

> Build failed
> 
> C:\>ant -version
> Apache Ant(TM) version 1.9.0 compiled on March 5 2013
> 
> C:\>ant -help
> ....
> ....
> ....
> 
> these are working.
> 
> Means "So Ant works."("http://ant.apache.org/manual/install.html")

Good.

> But, as I am giving 
> 
> C:\Program Files\Java\mallet-2.0.7>ant

What is that directory? What is in that directory?

> The build is still failed.

What are you trying to build?

> I'm checking the things.
> 
> I worked out following things:
> 
> C:\Users\subhabrata\Documents\lingpipe-4.1.0.tar\lingpipe-4.1.0>ant
> Buildfile: C:\Users\subhabrata\Documents\lingpipe-4.1.0.tar\lingpipe-4.1.0\build.xml

See how that works now that you've read the directions?

What is that directory? What is in that directory? What are you trying to build?

> compile:
> 
> BUILD SUCCESSFUL
> Total time: 1 second

-- 
Lew

[toc] | [prev] | [next] | [standalone]


#24060

Fromsubhabangalore@gmail.com
Date2013-05-14 12:30 -0700
Message-ID<d10ecbc1-3a65-4261-81e6-29a44bb0ba54@googlegroups.com>
In reply to#24059
On Tuesday, May 14, 2013 11:51:02 PM UTC+5:30, Lew wrote:
> subhaba...@...wrote:
> 
> > I read the URL
> 
> > "http://docs.oracle.com/javase/7/docs/technotes/tools/windows/classpath.h
> 
> 
> 
> Your formatting was little messed up on the Interwebz.
> 
> 
> 
> > tml"
> 
> > 
> 
> > I went to Computer--->Properties-->Advanced System Settings-->Environment 
> 
> > 
> 
> > Variables-->ANT_HOME/JAVA_HOME
> 
> > 
> 
> > In JAVA_HOME Variable Value is now:
> 
> > "C:\Program Files (x86)\Java\jdk1.7.0_21"
> 
> 
> 
> Good.
> 
> 
> 
> > Updated to the latest JDK and ported Eclipse also with it.
> 
> > 
> 
> > In ANT_HOME Variable Value is now:
> 
> > "C:\Program Files\Java\apache-ant-1.9.0"
> 
> 
> 
> Good.
> 
> 
> 
> > While installing it tried to follow:
> 
> > "http://ant.apache.org/manual/install.html"
> 
> 
> 
> Good.
> 
> 
> 
> > As I am giving 
> 
> > 
> 
> > C:\>Ant
> 
> 
> 
> That should be spelled "ant". Only the fact that Windows is weird about letter case
> 
> saved you there.
> 
> 
> 
> > Buildfile: build.xml does not exist!
> 
> 
> 
> Read the directions. Where does the "ant" command find its build file?
> 
> 
> 
> http://ant.apache.org/manual/running.html#commandline
> 
> 
> 
> Read the directions.
> 
> 
> 
> > Build failed
> 
> > 
> 
> > C:\>ant -version
> 
> > Apache Ant(TM) version 1.9.0 compiled on March 5 2013
> 
> > 
> 
> > C:\>ant -help
> 
> > ....
> 
> > ....
> 
> > ....
> 
> > 
> 
> > these are working.
> 
> > 
> 
> > Means "So Ant works."("http://ant.apache.org/manual/install.html")
> 
> 
> 
> Good.
> 
> 
> 
> > But, as I am giving 
> 
> > 
> 
> > C:\Program Files\Java\mallet-2.0.7>ant
> 
> 
> 
> What is that directory? What is in that directory?
> 
> 
> 
> > The build is still failed.
> 
> 
> 
> What are you trying to build?
> 
> 
> 
> > I'm checking the things.
> 
> > 
> 
> > I worked out following things:
> 
> > 
> 
> > C:\Users\subhabrata\Documents\lingpipe-4.1.0.tar\lingpipe-4.1.0>ant
> 
> > Buildfile: C:\Users\subhabrata\Documents\lingpipe-4.1.0.tar\lingpipe-4.1.0\build.xml
> 
> 
> 
> See how that works now that you've read the directions?
> 
> 
> 
> What is that directory? What is in that directory? What are you trying to build?
> 
> 
> 
> > compile:
> 
> > 
> 
> > BUILD SUCCESSFUL
> 
> > Total time: 1 second
> 
> 
> 
> -- 
> 
> Lew

Dear Group,

I would make a detailed study also. Thank you for your kind suggestion.  
But more or less all the ant commands on Lingpipe are working fine. 
The build is getting failed for another Library Mallet. The instructions are given here,("http://mallet.cs.umass.edu/download.php"), the kind of trouble you are taking I can not request you to suggest. I am trying to discuss the preliminary issues with MALLET forum, if I can not get much help I am getting back to you. 

Regards,
Subhabrata.

[toc] | [prev] | [next] | [standalone]


#24061

FromLew <lewbloch@gmail.com>
Date2013-05-14 13:08 -0700
Message-ID<7dbdc9fe-4270-44f1-a215-7ea61059d2f8@googlegroups.com>
In reply to#24060
subhaba...@....com wrote:
> On Tuesday, May 14, 2013 11:51:02 PM UTC+5:30, Lew wrote:
>> subhaba...@....com wrote:
>>> C:\Program Files\Java\mallet-2.0.7>ant
>> 
>> What is that directory? What is in that directory?

Is there a "build.xml" in that directory? Why did you ignore these questions I asked?

>>> The build is still failed.

And you have not answered my questions. Also, how did it fail? With what messages?

>> What are you trying to build?

Okay, I guess you're trying to build Mallet, but why? It's already built!

>
> ... [snip] ... 
> 
> I would make a detailed study also. Thank you for your kind suggestion.  
> But more or less all the ant commands on Lingpipe are working fine. 

Why are you building these projects if they're already built?

> The build is getting failed for another Library Mallet. The instructions are given here,
> ("http://mallet.cs.umass.edu/download.php"), the kind of trouble you are taking I can not request you 
> to suggest. I am trying to discuss the preliminary issues with MALLET forum, if I can not get much 
> help I am getting back to you. 

Those instructions tell you to go ahead and just use Mallet. Couldn't you do that?

-- 
Lew

[toc] | [prev] | [next] | [standalone]


#24074

Fromsubhabangalore@gmail.com
Date2013-05-15 12:15 -0700
Message-ID<5ef2130f-8851-43ff-8e7c-226a934737ab@googlegroups.com>
In reply to#24061
On Wednesday, May 15, 2013 1:38:39 AM UTC+5:30, Lew wrote:
> subhaba...@....com wrote:
> 
> > On Tuesday, May 14, 2013 11:51:02 PM UTC+5:30, Lew wrote:
> 
> >> subhaba...@....com wrote:
> 
> >>> C:\Program Files\Java\mallet-2.0.7>ant
> 
> >> 
> 
> >> What is that directory? What is in that directory?
> 
> 
> 
> Is there a "build.xml" in that directory? Why did you ignore these questions I asked?
> 
> 
> 
> >>> The build is still failed.
> 
> 
> 
> And you have not answered my questions. Also, how did it fail? With what messages?
> 
> 
> 
> >> What are you trying to build?
> 
> 
> 
> Okay, I guess you're trying to build Mallet, but why? It's already built!
> 
> 
> 
> >
> 
> > ... [snip] ... 
> 
> > 
> 
> > I would make a detailed study also. Thank you for your kind suggestion.  
> 
> > But more or less all the ant commands on Lingpipe are working fine. 
> 
> 
> 
> Why are you building these projects if they're already built?
> 
> 
> 
> > The build is getting failed for another Library Mallet. The instructions are given here,
> 
> > ("http://mallet.cs.umass.edu/download.php"), the kind of trouble you are taking I can not request you 
> 
> > to suggest. I am trying to discuss the preliminary issues with MALLET forum, if I can not get much 
> 
> > help I am getting back to you. 
> 
> 
> 
> Those instructions tell you to go ahead and just use Mallet. Couldn't you do that?
> 
> 
> 
> -- 
> 
> Lew

Dear Group,

Yes, it is fine now. There was a silly error. 

"mallet.jar" in the "dist" directory within Mallet is also created.

But I can not do java -jar mallet-jar.

Regards,
Subhabrata. 

[toc] | [prev] | [next] | [standalone]


#24075

FromLew <lewbloch@gmail.com>
Date2013-05-15 12:38 -0700
Message-ID<3dd0f0c4-0748-4bf7-8788-52b5c30b038c@googlegroups.com>
In reply to#24074
subhaba...@....com wrote:
> "mallet.jar" in the "dist" directory within Mallet is also created.
> 
> But I can not do java -jar mallet-jar.

First of all, even if "mallet.jar" actually is an executable JAR, calling it "mallet-jar" will not 
execute it.

http://docs.oracle.com/javase/7/docs/technotes/tools/windows/java.html#synopsis

Second, even if you spell the JAR name correctly, if it isn't an executable JAR then it won't 
execute.

http://docs.oracle.com/javase/tutorial/deployment/jar/
http://docs.oracle.com/javase/tutorial/deployment/jar/run.html

-- 
Lew

[toc] | [prev] | [next] | [standalone]


#24078

Fromsubhabangalore@gmail.com
Date2013-05-15 13:27 -0700
Message-ID<4ef6c934-a45e-48bd-a5ed-3b080ddb2e6e@googlegroups.com>
In reply to#24075
On Thursday, May 16, 2013 1:08:22 AM UTC+5:30, Lew wrote:
> subhaba...@....com wrote:
> 
> > "mallet.jar" in the "dist" directory within Mallet is also created.
> 
> > 
> 
> > But I can not do java -jar mallet-jar.
> 
> 
> 
> First of all, even if "mallet.jar" actually is an executable JAR, calling it "mallet-jar" will not 
> 
> execute it.
> 
> 
> 
> http://docs.oracle.com/javase/7/docs/technotes/tools/windows/java.html#synopsis
> 
> 
> 
> Second, even if you spell the JAR name correctly, if it isn't an executable JAR then it won't 
> 
> execute.
> 
> 
> 
> http://docs.oracle.com/javase/tutorial/deployment/jar/
> 
> http://docs.oracle.com/javase/tutorial/deployment/jar/run.html
> 
> 
> 
> -- 
> 
> Lew

Dear Group,

I was checking 
http://mallet.cs.umass.edu/quick-start.php

and now I am stuck here


Directory of C:\Users\subhabrata\Documents\mallet-2.0.7\bin

05/09/2013  03:00 AM    <DIR>          .
05/09/2013  03:00 AM    <DIR>          ..
09/02/2011  12:50 PM               635 classifier2info
09/02/2011  12:50 PM               632 csv2classify
09/02/2011  12:50 PM               631 csv2vectors
09/02/2011  12:50 PM             2,347 mallet
09/02/2011  12:50 PM             2,471 mallet.bat
09/02/2011  12:50 PM             1,771 mallethon
09/02/2011  12:50 PM                63 prepend-license.sh
09/02/2011  12:50 PM               636 svmlight2vectors
09/02/2011  12:50 PM               633 text2classify
09/02/2011  12:50 PM               632 text2vectors
09/02/2011  12:50 PM               636 vectors2classify
09/02/2011  12:50 PM               632 vectors2info
09/02/2011  12:50 PM               631 vectors2topics
09/02/2011  12:50 PM               635 vectors2vectors
              14 File(s)         12,985 bytes
               2 Dir(s)  414,373,920,768 bytes free

C:\Users\subhabrata\Documents\mallet-2.0.7\bin>mallet
Mallet 2.0 commands:
  import-dir        load the contents of a directory into mallet instances (one
per file)
  import-file       load a single file into mallet instances (one per line)
  import-svmlight   load a single SVMLight format data file into mallet instance
s (one per line)
  train-classifier  train a classifier from Mallet data files
  train-topics      train a topic model from Mallet data files
  infer-topics      use a trained topic model to infer topics for new documents
  estimate-topics   estimate the probability of new documents given a trained mo
del
  hlda              train a topic model using Hierarchical LDA
  prune             remove features based on frequency or information gain
  split             divide data into testing, training, and validation portions
Include --help with any option for more information

C:\Users\subhabrata\Documents\mallet-2.0.7\bin>

Regards,
Subhabrata.

[toc] | [prev] | [next] | [standalone]


Page 1 of 2  [1] 2  Next page →

Back to top | Article view | comp.lang.java.programmer


csiph-web