Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [transformer-dev] Help Need on Eclipse Transformer

Hi 

Thanks for the response. However I am  looking specifically for resources which can guide me on how to use Eclipse Transformer to change code at runtime.

My use case in detail: I have a custom class loader which loads classes from the database. At runtime whenever a class is loaded from the database I want to change references of javax to Jakarta.

Please suggest how to go about this.

Thanks & Regards
Priyank

On Tue, Oct 12, 2021, 9:20 PM Cesar Hernandez <chernandez@xxxxxxxxxxxxx> wrote:
Hi Priyank,

Generally workflow can be:


2.  Transform [1] [2]
java -jar org.eclipse.transformer.cli-0.2.0.jar <input_location> <output_location>

You can add custom rules during the transformer execution [3], example:
java -jar org.eclipse.transformer.cli-0.2.0.jar <input_location> <output_location> -tr package-rename-rules.properties 


[1]

[2]

[3]

On Tue, Oct 12, 2021 at 6:36 AM priyank agarwal <cricket100+eclipse@xxxxxxxxx> wrote:
Hi 

I am looking for some guide on how to use Eclipse Transformer via Java code. Any resources will be helpful.

Best Regards
Priyank
_______________________________________________
transformer-dev mailing list
transformer-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/transformer-dev
_______________________________________________
transformer-dev mailing list
transformer-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/transformer-dev

Back to the top