protected IPath getHostPath(String exePath, ILaunchConfiguration config)
throws CoreException {
- IPath path = target.getRootstrap().getPath();
+ IPath path = new Path(target.getRootstrap().getPath());
if (target.getRootstrapCommander() == null) {
return new Path(exePath);
}
}
protected void checkPackageFiles(IProject project, IConfiguration config) throws CoreException {
- String selectedRootstrapArch = RootstrapManager.getSelectedRootstrap().getArch();
+ String selectedRootstrapArch = RootstrapManager.getSelectedRootstrap().getArchitecture();
List<IPackage> pkgs = pkgUtil.getPackages(project, config, selectedRootstrapArch);
if (pkgs == null || pkgs.isEmpty()) {
newCoreException("Can not find package(.rpm) file. Try to build again", null);
protected boolean checkPackaging(final IProject project) {
final IConfiguration config = PlatformConfigurationManager.getDefaultConfiguration(project);
- String selectedRootstrapArch = RootstrapManager.getSelectedRootstrap().getArch();
+ String selectedRootstrapArch = RootstrapManager.getSelectedRootstrap().getArchitecture();
List<IPackage> pkgs = pkgUtil.getPackages(project, config, selectedRootstrapArch);
if (pkgs == null || pkgs.isEmpty()) {
if (PlatformLaunchUtil.questionPackaging(project)) {