Giter Site home page Giter Site logo

Comments (2)

claesrosell avatar claesrosell commented on July 20, 2024

This class has a lot of discouraged things going,
I did some digging in old Eclipse code and found out that the old ICoreConstant.PLATFORM_PATH is replaced by a static method on TargetPlatform. Just to get it to compile and work on the same level as recently the only thing that seems to be needed is to replace:

public static IPath getEclipseHome() {
	Preferences preferences = PDECore.getDefault().getPluginPreferences();
	return new Path(preferences.getString(ICoreConstants.PLATFORM_PATH));
}

with

public static IPath getEclipseHome() {
	return new Path(TargetPlatform.getLocation());
}

However, to use the location of the TargetPlatform to locate the EclipseHome might have been correct a decade ago, but probably not anymore.

Should we review the complete class or just get it to work?

from birt.

ruspl-afed avatar ruspl-afed commented on July 20, 2024

It seems that this is not the only class that needs review. So I would focus on just getting it to work. The rationale behind this is to create our first release as soon as we can and then we can improve it gradually.

from birt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.