FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Question about rdf file

 
Post new topic   Reply to topic     Forum Index -> Build
View previous topic :: View next topic  
Author Message
Gryphon



Joined: 21 Sep 2006
Posts: 1

PostPosted: Thu Sep 21, 2006 7:34 pm    Post subject: Question about rdf file Reply with quote

I have a preprocessor utility called dindent. It reads .id files and produces .d files. I set up a rule in default.rdf like this:

Code:

rule=DIndent
in=id
out=d
tool=dindent {@in} {@out}
out_use=compile


How ever when I attempt to run build it does not seem to run dindent.

Code:

C:\Programming\D\test>build test.id -Ttest -RDFdefault.rdf
No build required.
Digital Mars Librarian Version 8.00n
Copyright (C) Digital Mars 2000-2002 All Rights Reserved www.digitalmars.com

Error: test.iobj : No such file or directory


Any hint's about what I'm doing wrong would be appreciated
Back to top
View user's profile Send private message
Derek Parnell



Joined: 22 Apr 2004
Posts: 408
Location: Melbourne, Australia

PostPosted: Thu Sep 21, 2006 11:18 pm    Post subject: Re: Question about rdf file Reply with quote

Gryphon wrote:
I have a preprocessor utility called dindent. It reads .id files and produces .d files. I set up a rule in default.rdf like this:

Code:

rule=DIndent
in=id
out=d
tool=dindent {@in} {@out}
out_use=compile


How ever when I attempt to run build it does not seem to run dindent.

Code:

C:\Programming\D\test>build test.id -Ttest -RDFdefault.rdf
No build required.
Digital Mars Librarian Version 8.00n
Copyright (C) Digital Mars 2000-2002 All Rights Reserved www.digitalmars.com

Error: test.iobj : No such file or directory


Any hint's about what I'm doing wrong would be appreciated

The tokens in the RDF file are case sensitive. Try this instead...
Code:

rule=DIndent
in=id
out=d
tool=dindent {@IN} {@OUT}
out_use=compile


Also, try using a -full switch the first time through to force dindent to run.
_________________
--
Derek
skype name: derek.j.parnell
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Build All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group