You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Depesh Mandalia <dm...@temenos.com> on 2005/01/26 17:56:39 UTC

Problem with recompile

Hi there,

I am fairly a beginner with Java and am trying to edit the .java files from
within the Lucene HTML Demo. How do I get the updated Java files to work? Do
I compile the Java source? Where does the .class file go? I've tried
searching the web which led me back to the build file for Lucene. However, I
have followed procedures and built Lucene using Ant and the build.xml file.
However there is only a single JAR file which does not contain the Demo
folder within which I had inserted the modified .java file.

Basically if I change any part of the .java file in development, how do I
get to see the changes?

TIA

Depesh Mandalia
-------------------------
Technical Consultant
Hemel Hempstead, UK.
http://www.temenos.com

Re: Problem with recompile

Posted by Bernhard Messer <bm...@apache.org>.
If using ant, you can directly compile the demo files with "ant 
compile-demo". The resulting class files will be in "./build/classes"

Bernhard

Depesh Mandalia schrieb:

>Hi there,
>
>I am fairly a beginner with Java and am trying to edit the .java files from
>within the Lucene HTML Demo. How do I get the updated Java files to work? Do
>I compile the Java source? Where does the .class file go? I've tried
>searching the web which led me back to the build file for Lucene. However, I
>have followed procedures and built Lucene using Ant and the build.xml file.
>However there is only a single JAR file which does not contain the Demo
>folder within which I had inserted the modified .java file.
>
>Basically if I change any part of the .java file in development, how do I
>get to see the changes?
>
>TIA
>
>Depesh Mandalia
>-------------------------
>Technical Consultant
>Hemel Hempstead, UK.
>http://www.temenos.com
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org


Re: Problem with recompile

Posted by Erik Hatcher <er...@ehatchersolutions.com>.
Use Ant - http://ant.apache.org - to build the Lucene source code.

	Erik

On Jan 26, 2005, at 11:56 AM, Depesh Mandalia wrote:

> Hi there,
>
> I am fairly a beginner with Java and am trying to edit the .java files 
> from
> within the Lucene HTML Demo. How do I get the updated Java files to 
> work? Do
> I compile the Java source? Where does the .class file go? I've tried
> searching the web which led me back to the build file for Lucene. 
> However, I
> have followed procedures and built Lucene using Ant and the build.xml 
> file.
> However there is only a single JAR file which does not contain the Demo
> folder within which I had inserted the modified .java file.
>
> Basically if I change any part of the .java file in development, how 
> do I
> get to see the changes?
>
> TIA
>
> Depesh Mandalia
> -------------------------
> Technical Consultant
> Hemel Hempstead, UK.
> http://www.temenos.com


---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org