OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] webhelpindexer.jar w/o Ant?


Well, it didn't take long to prove that I can't do it.   Removing the 
imports and the two Extends still results in a no-ant-class type of 
error.  I have no idea where else it is making use of, or importing, Ant.

David Priest wrote:
> I am completely unfamiliar with Java, but familiar with a variety of 
> other languages.  I took a look at the code and I don't *think* the 
> indexer makes use of any Ant facilities, so I suspect all it needs is 
> to be uncoupled from Ant by redefining the method.  I shall take a 
> poke at it myself, but hope that someone with actual Java skills does 
> the same!
>
> Kasun Gajasinghe wrote:
>>
>> On Wed, Feb 9, 2011 at 5:06 AM, Docs <docs@davidpriest.ca 
>> <mailto:docs@davidpriest.ca>> wrote:
>>
>>     Is there a standalone version of webhelpindexer.jar?  I'm in an
>>     Ant-free environment.  I can compile webhelp contents from the
>>     command line, but com.nexwave.nquindexer.IndexerTask expects Ant
>>     to be in the classpath, making much sadness.
>>
>>
>> Quick answer is, there isn't! WebHelp was first made as a Ant build, 
>> so the webhelpindexer is also created as a Ant Task [1]. It needs to 
>> extend|org.apache.tools.ant.Task, which means, ultimately 
>> webhelpindexer depends on Ant. I understand your situation, but 
>> currently I'm afraid, there's no get around except changing the 
>> source AFAIK.|
>> |The Ant dependency needed by |com.nexwave.nquindexer.IndexerTask, 
>> which the main class. So, if you are familiar with Java, you may get 
>> webhelpindexer working by changing that file with the help from [1]. 
>> In the meantime, I'll see what I can do .
>>
>> [1] http://ant.apache.org/manual/develop.html
>>
>> Regards,
>> --Kasun
>>
>> ~~~*******'''''''''''''*******~~~
>> Kasun Gajasinghe,
>> University of Moratuwa,
>> Sri Lanka.
>> Blog: http://kasunbg.blogspot.com <http://kasunbg.blogspot.com/>
>> Twitter: http://twitter.com/kasunbg
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
>


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]