Doxygen with classic ASP (VBscript) - asp-classic

Is it possible to use Doxygen on classic-asp-files (written in VBscript)?
I found something called vbfilter.py, but I don't know how to use it. Can somebody please help me?

Finally, i could get it running.
requirements:
python 2.x
https://code.google.com/p/doxy-filter/source/browse/trunk/vbfilter.py?spec=svn1&r=1
download the vbfilter.py from Basti Grembowietz
in vbfilter.py modify def filter. you have to add a line for "asp".
then save the file in the root directory of the project
in Doxygen-settings, in the expert/input-area you have to set input_filter to vbfilter.py and the file_patterns to *.asp
(if you have python 3.x, there is another version, but take care. it's optimized for japanese usage. somewhere in that vbfilter.py codepage is set to CP932 and you have to set it to IS-8859-15 or whatever you need )

Looks like you will have to ask the developer to add support for classic ASP. The "vbfilter.py" you found is Python, really not relevant as far as I can tell.
In the official page he says:
You can submit enhancement requests in the bug tracker.

Related

Prevent Atom Editor from auto creating files

at the moment I try to experiment a little bit with Atom for writing an API documentation with RAML. Everything works fine but one damn thing:
Everytime I type some file paths (e.g. !include schemas/file.schema Atom auto creates the file when I'm not quick enough with typing. So, in some cases I have a hole bunch of file-zombies in my schema folder. That's kind of annoying.
My setup is standard Atom on MacBook, with api-workbench plugin, which includes linter as well. I already had a look at all those settings concerning auto completion - nothing found there. Also, Google doesn't show any hints. Any Tips?
Best regards,
Chris
It looks like this is a defect in the api-workbench package:
Api workbench creates new schemas, while i type their paths. For example below, i can see two-three files created while i type full name:
E.g:
schemas:
- myschema: !include schemas/myschema.json
Will create following files:
schemas/my
schemas/mysche
schemas/myschema
schemas/myschemas.json - this file is existing, i've created it before. all other files are redudant and i have to delete them.
Bug is not reproduced with examples, which i can also include in my document. Having issues while edition RAML 0.8 files.
If you want to help the package maintainers fix the defect, can I suggest you put together a minimal but complete example that reproduces the issue, this will make it easier for them to identify and resolve the issue.

Possible to search through all JSPs in Adobe CQ5 repository with CRXDE?

We have a couple of relatively simple websites running on Adobe CQ 5.5 that were developed by a third party. I'm pretty familiar with how CQ works, but I'm working with somebody else's code here and I need to be able to search through all components in the system for a particular string.
The issue is that I can't seem to find a way to search across all of the various .jsp files stored with the various system components. I would have figured that the query tool in CRXDE Lite would have done the trick with something like this:
/jcr:root//*[jcr:contains(., 'Find this exact string in a JSP')] order by #jcr:score
But I've had no luck.
What I am looking for is some sort of global search that includes JSP files. Is that possible? Were I using a regular Java system, any IDE worth the download would be able to do this.
Thanks.
Might not be easiest way, but you can use the VLT tool to checkout the repository into your filesystem. Then you can lookup using whatever tool you prefer. It might even be faster in the long run
I don't have the actual answer but I suppose the JSPs are indexed via a filter that strips out some of their content.
It should be possible to configure the repository to index them as is instead, based on the info at http://wiki.apache.org/jackrabbit/IndexingConfiguration and http://jackrabbit.apache.org/jackrabbit-text-extractors.html
Sorry about the vagueness of this answer - I know the basic principles but to provide the details I would need more time than I can afford now ;-)

How to import/include in Closure Stylesheet?

Reading this page http://code.google.com/p/closure-stylesheets/, I can't seem to find any documentation explaining how to include or import another .gss files. Is this possible?
I've never used .gss nor have I tested the following, but just looking at the documentation on the page seems to imply to me that including multiple ones would just be:
java -jar closure-stylesheets.jar --pretty-print first.gss
java -jar closure-stylesheets.jar --pretty-print second.gss
Though it also appears to be simpler to use the minification technique noted on the page:
java -jar closure-stylesheets.jar first.gss second.gss third.gss
Try either or both those techniques on your site and see if it solves your question.
This is a bug in the current implementation, see thread discussing this
Here's the download link
Hope this helps

QNetworkAccessManager::setProxy example

may someone give an example of using properly QNetworkAccessManager::setProxy, i meant i primaly a java developer mostly using HttpClient all the time.
Thx!
Ricardo, in Qt source code directory go to "examples/declarative/cppextensions/networkaccessmanagerfactory" or go to http://qt.gitorious.org/qt/qt/trees/4.7/examples/declarative/cppextensions/networkaccessmanagerfactory. There is nothing complicated in that class method so you should be able to use it.

Looking for a simple explanation on using trace logging

I have seen several projects that use the Trace functionality to capture events and stream them out to a log file. I have been unsuccessful in finding a simple to follow guide that will show me how to configure Trace to capture and write said logfile. Does anyone have a link recommendations, or provide some simple steps to follow?
The Trace object writes the statements to any attached TraceListeners. You can build your own, but there are a number already defined in the System.Diagnostics namespace, including:
ConsoleTraceListener (Console)
DefaultTraceListener (Visual Studio / Debugger)
DelimitedListTraceListener (TextWriter, special formatting)
EventLogTraceListener (EventLog - anything that inherits from System.Diagnostics.EventLog)
TextWriterTraceListener (TextWriter - think file)
You can, of course, inherit your own from the TraceListener class that writes to where ever you want. For example, you could log to a database, have it send e-mails or pages in certain situations, or write the statements back to a logging platform like log4net.
The big thing is that you need to create an instance of whatever listeners you want and then add them to the Trace' class Listeners collection. You can add as many as you need and Trace will write to all of them. This way, you can write your logging code once using a well-supported and understood object that's part of the framework, and you can attach anything you need to it.
I stumbled into a MSDN article that really helps. Sorry I didn't find it before posting the question but perhaps others may have the same question and haven't found this link.
Take a look at logging frameworks. We rolled out own, but are now migrating over to log4net available free at http://logging.apache.org/log4net/
Im looking for a way to set the Category of the EventLog, the FormattedEventLogTraceListener writes into (not the category of the message).
But I can't find an appropriate property of this class.
Is it possible to set this?

Resources