Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jdt-core-dev] how to use pre-build jdt index files?

Jdt build process will reuse existed index files from my box, so that I assume jdt could use less time to parse jars to get indexs.

 

If can’t reduce time, does it mean it can’t contribute to eclipse performance?

But from guide, it claimed use existed indexes could improve performance…

 

Regards

Simon

From: jdt-core-dev-bounces@xxxxxxxxxxx [mailto:jdt-core-dev-bounces@xxxxxxxxxxx] On Behalf Of Srikanth S Adayapalam
Sent: 2012
1129 13:25
To: Eclipse JDT Core developers list.
Cc: Eclipse JDT Core developers list.; jdt-core-dev-bounces@xxxxxxxxxxx
Subject: Re: [jdt-core-dev] how to use pre-build jdt index files?

 

The build process itself does not use any indexing information and so cannot contribute to
increased build times in and of itself. Not sure what else is at play.

Srikanth


jdt-core-dev-bounces@xxxxxxxxxxx wrote on 11/28/2012 12:17:12 PM:

> From: "Wang, Simon" <Yunfeng.Wang@xxxxxxxx>

> To: "Eclipse JDT Core developers list." <jdt-core-dev@xxxxxxxxxxx>,
> Date: 11/28/2012 12:16 PM
> Subject: Re: [jdt-core-dev] how to use pre-build jdt index files?
> Sent by: jdt-core-dev-bounces@xxxxxxxxxxx
>
> Thanks Markus!

>  
> I generated index files first.
> Then developed plugin to configure classpath entries by
> “entryDescriptor.setClasspathAttribute
> (IClasspathAttribute.INDEX_LOCATION_ATTRIBUTE_NAME, indexFile.toURL
> ().toString());”

>  
> After launch eclipse and import maven projects, I found jdt do reuse
> existed index files.

> But it took longer time to complete build workspace job.
>  
> I have about 15 maven projects, before took 5 mins to build workspace.
> Now, it took more than 6 mins to build workspace…
>  
> Is that expected result? I think pre-built index files should faster
> build workspace, right?

>  
> Regards
> Simon
> From: jdt-core-dev-bounces@xxxxxxxxxxx [mailto:jdt-core-dev-
> bounces@xxxxxxxxxxx] On Behalf Of Markus Keller
> Sent: 2012
1126 18:22
> To: Eclipse JDT Core developers list.
> Subject: Re: [jdt-core-dev] how to use pre-build jdt index files?

>  
> As the N&N says, this feature is not directly accessible for users.
>
> PDE currently doesn't implement support for adding pre-built indexes
> to OSGi bundles. However, this could be implemented similar to how
> source bundles work.
>
>
http://help.eclipse.org/juno/topic/org.eclipse.jdt.doc.isv/guide/
> jdt_api_searchindex.htm
> tells how to use this if you implement your own classpath container.
>
>
https://bugs.eclipse.org/356620 has all the history.
>
> Markus

>
> From:

>
> "Wang, Simon" <Yunfeng.Wang@xxxxxxxx>

>
> To:

>
> "jdt-core-dev@xxxxxxxxxxx" <jdt-core-dev@xxxxxxxxxxx>,

>
> Date:

>
> 2012-11-23 06:27

>
> Subject:

>
> [jdt-core-dev] how to use pre-build jdt index files?

>
>  

>
>
>
>
> Hi,
>       After 3.8, JDT have JavaIndexer to pre-build index files for
> dependencies.
> I'm trying to do this.
>      But my question is: when is the right time point to generate index files?
> and how to apply those index files? Just copy those index files into
> workspace/.plugins/{jdt.core.folder}?
>
> Regards
> Simon_______________________________________________
> jdt-core-dev mailing list
> jdt-core-dev@xxxxxxxxxxx
>
https://dev.eclipse.org/mailman/listinfo/jdt-core-dev
> _______________________________________________
> jdt-core-dev mailing list
> jdt-core-dev@xxxxxxxxxxx
>
https://dev.eclipse.org/mailman/listinfo/jdt-core-dev


Back to the top