Re: Netbeans and Solr : Whac-A-Mole

2009-09-07 Thread Noble Paul നോബിള്‍ नोब्ळ्
This testcase is quite independent of anything in Solr. It is a
standalone utility and the only dependency is stax.
discalimer (I run these testcases from Intellij and command line)
BTW are you using XpathRecordReader outside of DIH?

On Mon, Sep 7, 2009 at 3:26 PM, Fergus McMenemiefer...@twig.me.uk wrote:
 Hello all,

 I would appreciate help from somebody who has set up Solr within
 netbeans, I am wanting to do more work with DIH and particularly its
 XpathEntityProcessor stuff. I wish to preform the following from
 within the IDE

   ant -Dtestcase=TestXPathRecordReader.java test

 I have spent a few hours playing Whac-A-Mole with classpath and source
 settings. In the end I got it down to zero flags, but I then added
 some test cases and the scanner thing then went off and flagged dozens
 files with undefined classes I removed my change but the rescan did not
 remove the dozens of flagged files.

 PS: I am a total netbeans newbie.

 --

 ===
 Fergus McMenemie               Email:fer...@twig.me.uk
 Techmore Ltd                   Phone:(UK) 07721 376021

 Unix/Mac/Intranets             Analyst Programmer
 ===




-- 
-
Noble Paul | Principal Engineer| AOL | http://aol.com


Re: Netbeans and Solr : Whac-A-Mole

2009-09-07 Thread rajan chandi
We use command-line for most stuff except editing/debugging!

2009/9/7 Noble Paul നോബിള്‍ नोब्ळ् noble.p...@corp.aol.com

 This testcase is quite independent of anything in Solr. It is a
 standalone utility and the only dependency is stax.
 discalimer (I run these testcases from Intellij and command line)
 BTW are you using XpathRecordReader outside of DIH?

 On Mon, Sep 7, 2009 at 3:26 PM, Fergus McMenemiefer...@twig.me.uk wrote:
  Hello all,
 
  I would appreciate help from somebody who has set up Solr within
  netbeans, I am wanting to do more work with DIH and particularly its
  XpathEntityProcessor stuff. I wish to preform the following from
  within the IDE
 
ant -Dtestcase=TestXPathRecordReader.java test
 
  I have spent a few hours playing Whac-A-Mole with classpath and source
  settings. In the end I got it down to zero flags, but I then added
  some test cases and the scanner thing then went off and flagged dozens
  files with undefined classes I removed my change but the rescan did not
  remove the dozens of flagged files.
 
  PS: I am a total netbeans newbie.
 
  --
 
  ===
  Fergus McMenemie   
  Email:fer...@twig.me.ukemail%3afer...@twig.me.uk
  Techmore Ltd   Phone:(UK) 07721 376021
 
  Unix/Mac/Intranets Analyst Programmer
  ===
 



 --
 -
 Noble Paul | Principal Engineer| AOL | http://aol.com



Re: Netbeans and Solr : Whac-A-Mole

2009-09-07 Thread Fergus McMenemie
This testcase is quite independent of anything in Solr. It is a
standalone utility and the only dependency is stax.
discalimer (I run these testcases from Intellij and command line)
BTW are you using XpathRecordReader outside of DIH?

Nobel,

Is there a better way to test and play with XPathRecordReader.java
other than

 ant -Dtestcase=TestXPathRecordReader test

Which takes 8secs to run here? I am not using XpathRecordReader
outside of DIH, but looking to see how I would add support for
xpaths such as //a.

Fergus.


On Mon, Sep 7, 2009 at 3:26 PM, Fergus McMenemiefer...@twig.me.uk wrote:
 Hello all,

 I would appreciate help from somebody who has set up Solr within
 netbeans, I am wanting to do more work with DIH and particularly its
 XpathEntityProcessor stuff. I wish to preform the following from
 within the IDE

   ant -Dtestcase=TestXPathRecordReader.java test

 I have spent a few hours playing Whac-A-Mole with classpath and source
 settings. In the end I got it down to zero flags, but I then added
 some test cases and the scanner thing then went off and flagged dozens
 files with undefined classes I removed my change but the rescan did not
 remove the dozens of flagged files.

 PS: I am a total netbeans newbie.

 --

 ===
 Fergus McMenemie               Email:fer...@twig.me.uk
 Techmore Ltd                   Phone:(UK) 07721 376021

 Unix/Mac/Intranets             Analyst Programmer
 ===




-- 
-
Noble Paul | Principal Engineer| AOL | http://aol.com

-- 

===
Fergus McMenemie   Email:fer...@twig.me.uk
Techmore Ltd   Phone:(UK) 07721 376021

Unix/Mac/Intranets Analyst Programmer
===


Re: Netbeans and Solr : Whac-A-Mole

2009-09-07 Thread Shalin Shekhar Mangar
On Mon, Sep 7, 2009 at 5:58 PM, Fergus McMenemie fer...@twig.me.uk wrote:

 This testcase is quite independent of anything in Solr. It is a
 standalone utility and the only dependency is stax.
 discalimer (I run these testcases from Intellij and command line)
 BTW are you using XpathRecordReader outside of DIH?

 Nobel,

 Is there a better way to test and play with XPathRecordReader.java
 other than

  ant -Dtestcase=TestXPathRecordReader test

 Which takes 8secs to run here? I am not using XpathRecordReader
 outside of DIH, but looking to see how I would add support for
 xpaths such as //a.


The target takes a lot of time because it has to go through all the
test-cases in core and contribs trying to match the value given in
-Dtestcase.

You could also do ant -Dtestcase=TestXPathRecordReader test-contrib which
should be a little faster. I run individual test cases directly through IDEA
which avoids these extra steps.

-- 
Regards,
Shalin Shekhar Mangar.


Re: Netbeans and Solr : Whac-A-Mole

2009-09-07 Thread Fergus McMenemie
On Mon, Sep 7, 2009 at 5:58 PM, Fergus McMenemie fer...@twig.me.uk wrote:

 This testcase is quite independent of anything in Solr. It is a
 standalone utility and the only dependency is stax.
 discalimer (I run these testcases from Intellij and command line)
 BTW are you using XpathRecordReader outside of DIH?

 Nobel,

 Is there a better way to test and play with XPathRecordReader.java
 other than

  ant -Dtestcase=TestXPathRecordReader test

 Which takes 8secs to run here? I am not using XpathRecordReader
 outside of DIH, but looking to see how I would add support for
 xpaths such as //a.


The target takes a lot of time because it has to go through all the
test-cases in core and contribs trying to match the value given in
-Dtestcase.

You could also do ant -Dtestcase=TestXPathRecordReader test-contrib which
should be a little faster. I run individual test cases directly through IDEA
which avoids these extra steps.

Shalin,

Hmm, 6 seconds. I looked up IDEA and I guess I should be able
to use it for free while working on solr. Is it easier to 
setup and come up the learning curve?

Regards Fergus.
-- 

===
Fergus McMenemie   Email:fer...@twig.me.uk
Techmore Ltd   Phone:(UK) 07721 376021

Unix/Mac/Intranets Analyst Programmer
===