Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Technology Project and PMC » A Tool Variable with no extension
A Tool Variable with no extension [message #588545] Thu, 09 January 2003 18:15
Brian Bagnall is currently offline Brian BagnallFriend
Messages: 2
Registered: July 2009
Junior Member
Hi,

I'm setting up custom tools in Eclipse and trying to pick out the name of a
file, without using the extension. For example if the filename is 'hello.c',
I'd like the tool arguments to pick out the name 'hello' and drop the file
extension.

I went through all the project variables supplied by Eclipse and none of
them gives this option. Do I need to create a makefile in order to have this
kind of functionality? I'm using Windows, so if there is a way to do this in
a batch file that would also be helpful.

Note: The reason for this is I need to run the compiled binary file using an
emulator. This file has no extension, and uses the same name as the main
source file.

Brian Bagnall
---------------------------------------------
My homepage http://www.mts.net/~bbagnall
Previous Topic:quick q regarding eclipse 1.0
Next Topic:A Tool Variable with no extension
Goto Forum:
  


Current Time: Fri Apr 19 23:42:42 GMT 2024

Powered by FUDForum. Page generated in 0.03723 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top