Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jdt-core-dev] Cleanup from the command line

There is no API for that. Take a look at JDT UI code (e.g. start with
org.eclipse.jdt.internal.ui.actions.AllCleanUpsAction).

Dani


|------------>
| From:      |
|------------>
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
  |Mario Mendez-Lojo <marioml@xxxxxxxxxxxxxxx>                                                                                                       |
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| To:        |
|------------>
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
  |"Eclipse JDT Core developers list." <jdt-core-dev@xxxxxxxxxxx>                                                                                    |
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Date:      |
|------------>
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
  |30.04.2009 23:30                                                                                                                                  |
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Subject:   |
|------------>
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
  |Re: [jdt-core-dev] Cleanup from the command line                                                                                                  |
  >--------------------------------------------------------------------------------------------------------------------------------------------------|





Can you please indicate what is the entry class for the cleanup process, so
I
can go and try to create a command-line app based on that class? Thanks!

Daniel Megert wrote:
> No.
>
> Dani
>
>
> |------------>
> | From:      |
> |------------>
>
>--------------------------------------------------------------------------------------------------------------------------------------------------|

>   |Mario Mendez-Lojo <marioml@xxxxxxxxxxxxxxx>
|
>
>--------------------------------------------------------------------------------------------------------------------------------------------------|

> |------------>
> | To:        |
> |------------>
>
>--------------------------------------------------------------------------------------------------------------------------------------------------|

>   |jdt-core-dev@xxxxxxxxxxx
|
>
>--------------------------------------------------------------------------------------------------------------------------------------------------|

> |------------>
> | Date:      |
> |------------>
>
>--------------------------------------------------------------------------------------------------------------------------------------------------|

>   |30.04.2009 21:44
|
>
>--------------------------------------------------------------------------------------------------------------------------------------------------|

> |------------>
> | Subject:   |
> |------------>
>
>--------------------------------------------------------------------------------------------------------------------------------------------------|

>   |[jdt-core-dev] Cleanup from the command line
|
>
>--------------------------------------------------------------------------------------------------------------------------------------------------|

>
>
>
>
>
> Hi guys,
>
> I use the formatter provided in Eclipse in my build file; I wonder if I
can
> do
> the same with the cleanup, i.e., if I can invoke something like
>
> eclipse -vm <path_to_vm> -application <cleanup_class> -config
> org.eclipse.jdt.ui.prefs *.java
>
> in order to cleanup (including formatting) the java files in the current
> dir.
>
> Thanks!!
> _______________________________________________
> 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
_______________________________________________
jdt-core-dev mailing list
jdt-core-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jdt-core-dev





Back to the top