Permalink
Browse files

run tests fixes

  • Loading branch information...
1 parent f4fc763 commit 5dc58549a3489749348991cf267bc025019680b2 @JPMoresmau committed Oct 21, 2011
@@ -71,7 +71,7 @@
for (Component c:facade.getComponents()){
if (c.isBuildable() && c.getType().equals( type )){
String name=FileUtil.makeExecutableName( c.getName() );
- IFile f=project.getFile( BWFacade.DIST_FOLDER+File.separator+"build"+File.separator+c.getName()+File.separator+name ); //$NON-NLS-1$
+ IFile f=project.getFile( BWFacade.DIST_FOLDER+File.separator+"dist"+File.separator+"build"+File.separator+c.getName()+File.separator+name ); //$NON-NLS-1$ //$NON-NLS-2$
if (f.exists()){
result.add( f );
}
@@ -28,6 +28,7 @@
import org.eclipse.debug.core.model.LaunchConfigurationDelegate;
import org.eclipse.debug.ui.DebugUITools;
import org.eclipse.debug.ui.IDebugUIConstants;
+import org.eclipse.osgi.util.NLS;
public abstract class AbstractHaskellLaunchDelegate extends LaunchConfigurationDelegate{
@@ -37,7 +38,7 @@ public void launch( final ILaunchConfiguration configuration,
throws CoreException {
if( !monitor.isCanceled() ) {
try {
- IPath loc = getExecutableLocation( configuration );
+ final IPath loc = getExecutableLocation( configuration );
checkCancellation( monitor );
String[] arguments = determineArguments( configuration );
checkCancellation( monitor );
@@ -74,7 +75,7 @@ public void launch( final ILaunchConfiguration configuration,
if( process != null ) {
if ( isBackground( configuration ) ) {
final IProcess theProcess = process;
- Job endJob = new Job( CoreTexts.running ) {
+ Job endJob = new Job( NLS.bind( CoreTexts.running , loc.toOSString() )) {
@Override
protected IStatus run( final IProgressMonitor mon ) {
@@ -14,7 +14,7 @@ thread_default_name= <Execution Thread>
launchconfiguration_delete_failed= Error while deleting launch configuration
-running=Running executable
+running=Running executable {0}
testSuite_waiting=Running test suite
profiling_waiting=Getting profiling information

0 comments on commit 5dc5854

Please sign in to comment.