if you are a human please do not click here
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
Username :
Password :
Home
Help
Calendar
Register
Login
XMetaL Community Forums
»
General
»
General XMetaL Discussion
»
Open file limit
Pages:
1
« previous
next »
Print
Author
Topic: Open file limit (Read 210 times)
mjkhan
Member
Posts: 4
Open file limit
«
on:
February 03, 2012, 08:58:37 AM »
Hi,
Is there a limit to how many files you can open in XMetal? Specifically if user selects multiple files (somewhere from 10-25) on the file system and click open. What we see is that XMetal opens files in multiple instances with 5-10 files open in every instance. How can make XMetal open all files in one instance?
Thanks!
Logged
LeeHart
Member
Posts: 40
Re: Open file limit
«
Reply #1 on:
February 06, 2012, 11:10:00 AM »
You didn't specify which version. I've opened up to around 200 files at a time in XMetaL. Since we moved from XMetaL 5.x to XMetaL 6 and from DTD to XSD schema I can't seem to load quite as many any more but I've not spent time tracking it down.
I primarily work from the command prompt; when I want to open many files I'll generate a list, make sure the XMetaL process has started (and wait 10 seconds if I start it for init) and then loop through the list starting XMetaL with the full path name of the file.
Here's the core of the primary batch file I use to do this (you'll need to find a replacement for sleep.exe that sleeps the specified number of seconds or use something like "ping -n count" to delay a similar time period):
Set _NoXM=
TaskList | FindStr -i XMetaL > nul
If ErrorLevel 1 Set _NoXM=1
If Defined _NoXM (
Start XMetaL60
::Wait for XMetaL to initialize
Echo Waiting 10 seconds for XMetaL to finish initialization
Sleep 10
)
:: Launch all file(s), one at a time
For %%i in (%*) Do Start /w XMetaL60 "%%~dpnxi"
Goto :EOF
Logged
Derek Read
Program Manager (XMetaL)
Administrator
Member
Posts: 1548
Re: Open file limit
«
Reply #2 on:
February 07, 2012, 11:31:16 AM »
Note that if one of your files triggers a dialog (of any kind) to be displayed that may cause files listed for opening after that file to fail to open. The most obvious would be the dialog displayed to the user when they are asked to browse to locate a missing schema.
Logged
Pages:
1
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> Forum Information
=> General XMetaL Discussion
=> DITA and XMetaL Discussion
=> XMetaL Tips and Tricks
=> XMetaL Announcements and Events
Loading...
email us