# HG changeset patch # User timkelly # Date 1282863728 18000 # Node ID 2a78cecf2c2d4e83ba07c5982681a6c7cbdc2ab4 # Parent 48a778886355874c5dbdd025c21169a11b6eb298 fix abld specific commands (bad cast exception) diff -r 48a778886355 -r 2a78cecf2c2d builder/com.nokia.carbide.cpp.builder.utils/src/com/nokia/carbide/cpp/internal/builder/utils/handlers/ABLDCommandHandler.java --- a/builder/com.nokia.carbide.cpp.builder.utils/src/com/nokia/carbide/cpp/internal/builder/utils/handlers/ABLDCommandHandler.java Thu Aug 26 16:06:13 2010 -0500 +++ b/builder/com.nokia.carbide.cpp.builder.utils/src/com/nokia/carbide/cpp/internal/builder/utils/handlers/ABLDCommandHandler.java Thu Aug 26 18:02:08 2010 -0500 @@ -181,7 +181,7 @@ args.add(buildConfig.getPlatformString().toLowerCase()); args.add(buildConfig.getTargetString().toLowerCase()); - ISBSv1BuildContext sbsv1Context = (ISBSv1BuildContext)buildConfig; + ISBSv1BuildContext sbsv1Context = (ISBSv1BuildContext)buildConfig.getBuildContext(); for (String arg : sbsv1Context.getBuildArgumentsInfo().getAbldTargetArgs().split(" ")) { //$NON-NLS-1$ args.add(arg); } @@ -193,7 +193,7 @@ List args = new ArrayList(); args.add("export"); //$NON-NLS-1$ - ISBSv1BuildContext sbsv1Context = (ISBSv1BuildContext)buildConfig; + ISBSv1BuildContext sbsv1Context = (ISBSv1BuildContext)buildConfig.getBuildContext(); for (String arg : sbsv1Context.getBuildArgumentsInfo().getAbldExportArgs().split(" ")) { //$NON-NLS-1$ args.add(arg); } @@ -207,7 +207,7 @@ args.add(buildConfig.getPlatformString().toLowerCase()); args.add(buildConfig.getTargetString().toLowerCase()); - ISBSv1BuildContext sbsv1Context = (ISBSv1BuildContext)buildConfig; + ISBSv1BuildContext sbsv1Context = (ISBSv1BuildContext)buildConfig.getBuildContext(); for (String arg : sbsv1Context.getBuildArgumentsInfo().getAbldResourceArgs().split(" ")) { //$NON-NLS-1$ args.add(arg); } @@ -221,7 +221,7 @@ args.add(buildConfig.getPlatformString().toLowerCase()); args.add(buildConfig.getTargetString().toLowerCase()); - ISBSv1BuildContext sbsv1Context = (ISBSv1BuildContext)buildConfig; + ISBSv1BuildContext sbsv1Context = (ISBSv1BuildContext)buildConfig.getBuildContext(); for (String arg : sbsv1Context.getBuildArgumentsInfo().getAbldFinalArgs().split(" ")) { //$NON-NLS-1$ args.add(arg); }