Red Gate forums :: View topic - Command Line Does Not Create Valid CHM
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Doc 2
SQL Doc 2 forum

Command Line Does Not Create Valid CHM

Search in SQL Doc 2 forum
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Jump to:  
Author Message
Janna.Kelly



Joined: 25 Sep 2008
Posts: 2

PostPosted: Wed May 19, 2010 7:17 pm    Post subject: Command Line Does Not Create Valid CHM Reply with quote

I've created a sqldoc project using the UI and am now trying to use the command line version to run it from within my build script.

SQLDoc builds a 1KB CHM file that is not valid. If I generate from within the UI, I get an 87 KB CHM file that is valid and openable.

Here's the command line I'm using:

Code:
"c:\program files\red gate\sql doc2\sqldoc" /project:MyDatabaseDocumentation.sqldoc /filetype:chm /out:MyDatabase.chm /force


Any ideas or solutions would be welcome.

Thank you!
Back to top
View user's profile Send private message
Janna.Kelly



Joined: 25 Sep 2008
Posts: 2

PostPosted: Wed May 19, 2010 7:26 pm    Post subject: Command Line Correction Reply with quote

Sorry, the command line above should have read:

Code:
"c:\program files\red gate\sql doc 2\sqldoc" /project:MyDatabaseDocumentation.sqldoc /filetype:chm /out:MyDatabase.chm /force
Back to top
View user's profile Send private message
peter.peart
Site Admin


Joined: 02 Sep 2008
Posts: 362
Location: Top floor, RG towers with the cool kids

PostPosted: Fri May 21, 2010 12:53 pm    Post subject: Reply with quote

Hi Janna,

Many thanks for your post. I have replicated this here and have raised a bug for it in our internal tracking systems under reference SDOC-1424. Hopefully this will be fixed shortly for the cumultive patch, however I will post on here when the fix is made.

Pete
_________________
Peter Peart
Red Gate Software Ltd
+44 (0)870 160 0037 ext. 8569
1 866 RED GATE ext. 8569
Back to top
View user's profile Send private message Send e-mail
peter.peart
Site Admin


Joined: 02 Sep 2008
Posts: 362
Location: Top floor, RG towers with the cool kids

PostPosted: Fri May 28, 2010 11:54 am    Post subject: Reply with quote

Hi Janna,

Looks like I made a mistake here and should have read the documentation properly myself!

Anyway, if you save a project where the output is set to CHM then you won't need to use the out switch. Your code will then look something like:

Code:
"c:\program files\red gate\sql doc 2\sqldoc" /project:MyDatabaseDocumentation.sqldoc /force


HTH!

Pete
_________________
Peter Peart
Red Gate Software Ltd
+44 (0)870 160 0037 ext. 8569
1 866 RED GATE ext. 8569
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies. All times are GMT + 1 Hour
Page 1 of 1

 
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