It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I am using Delphi 7. I am trying to use Sonar Delphi Plgin, and I have confused what are the things I need to follow, could anybody guide me through Sonar Delphi usage i.e. installation and how to use it.
If possible pl provide the link, coz I have gone through the link below, but it gives me only jar file:
http://docs.codehaus.org/display/SONAR/Delphi+Plugin
And confused with one more link:
http://sonar.15.n6.nabble.com/sonar-dev-VOTE-Delphi-plugin-td4523726.html
Here is the following link for Sonar runner:
http://docs.codehaus.org/display/SONAR/Installing+and+Configuring+Sonar+Runner
Based off of recent memory of getting this working.
Ensure Java 6 SDK installed (Delphi addon doesn't work with Java 7)
Download the Sonar application: http://www.sonarsource.org/downloads/
Install Sonar
Run Sonar (StartSonar.bat)
Once logged on (default user/pass is admin) install the Delphi add-on via the Update Center list of Available Plugins. See: http://docs.sonarqube.org/display/SONAR/Update+Center
Grab the example project files from the Github repository:
https://github.com/SonarSource/sonar-examples/tree/master/projects/languages
There's a Delphi sample in there demonstrating how to configure a sonar-project.properties file that points to your source code directories.
After setting the SONAR_RUNNER_HOME environment variable, exec 'sonar-runner' in the folder with your configured properties file to have Sonar parse through the Delphi project files.
I plan to go back to play with this, but it failed to process most of the code I threw at it so I walked away a bit disappointed. It seems like a pretty cool system.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
We had understood, MSIX is an interesting, modern alternative to ClickOnce.
Using with GUI runs smoothly. And we want also to use it with Powershell/CMD scripts. (We only want the msix package, no store upload.)
Here is our problem. I have seen the doc from MS (https://learn.microsoft.com/en-us/windows/msix/package/manual-packaging-root) but it is very partial. I have no special with to do, I only want to make the standard export by script instead of GUI.
Please, can anybody give me a better instruction/tutorial to easy create an msix-Package by command line?
Here the steps, I found - and partial questions:
Create Manifest.xml - Good documentation of the content, but where to save it? I use the folder with the *.sln
Generate a Package Resource Index - I find the MakePRI.exe, but hot to use?
Create the package with MakeAppx - who and where to use? Even in standard case I need a mapping.txt. Which files must it contain? All from Manifest? Where I must place the files - Server online or local at PC? Only pictures for icons? Where I must run it? Must it the place with the *.sln or can it be a subfolder? Where have the binaries of my program to be?
Create an app bundle - What must stand in the mapping file here, when I will an app for x86 and x64?
Sign msix - sounds easy - give msix-file and signature as parameter and run
You see, I am very confused. With GUI - MSIX creation is easy. But how to automate it? Can someone help me?
It seems to me that you are on the wrong track here, basically, you are trying to reinvent the wheel and create your own tool that builds MSIX packages.
This doesn't sound very effective to me. We (at Advanced Installer) and other vendors, Microsoft including, have been working for years to build reliable MSIX packaging tools, this is not a 1-month project task that you can start from scratch, without any prior domain knowledge.
What I suspect you need is actually a way to build from the command line a project that you created with Visual Studio, Advanced Installer, InstallShield, or any other tool that can build MSIX packages.
So basically, you need to use the GUI to initially build the project that will generate your MSIX and you can then go on to use the options below to build an MSIX from that project using the command line.
If I am wrong, and you actually need a way to build an MSIX package from scratch from the command line, please update the question with more details so the community can better understand what you are trying to accomplish in order to provide you with useful guidance.
TLDR solution:
So, the first step is for you to build your MSIX project using your tool of preference. From your question, it seems you are only using VS, so you need to use the Windows Application Packaging Project.
Now that you got the .SLN which contains your source code for the application along with your MSIX project, all you need to do is to trigger a build from the command line, using msbuild.
Note. If you are using a third-party tool to build your MSIX, then search for it's documentation, all professional tools have a command-line interface. Here is for example how you can build a project from using Advanced Installer's CLI.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
what are minimal steps required to make ISAPI dll working in IIS7 for query www.website.com/test/bin/ISAPIGet.dll?a=b ? Please don't refer to top google searches, they are very generic and don't work.
I wrote very simple ISAPIGet.dll in Delphi2010, which works great in IIS5 Win2000. Then I put it on IIS7 SBS2008,
into C:\inetpub\wwwroot\website\test\bin folder.
Created website for /website,
Application for /test,
VirtualDirectory for /bin,
in HandlerMappings for /bin Added Script Map *.dll to my ISAPIGet.dll,
allowed my dll in ISAPIandCgiRestrictions,
created 32bit ApplicationPool NonManaged code, Classic mode,
bound it to /test Application.
When quering www.website.com/test/bin/ISAPIGet.dll?a=b I'm getting all kinds of errors like 500, 503 (when AppPool fails), while homepage www.website.com is working fine.
What else should I do? Do I need to configure web.config file, where and how?
As I recall, I had similar problems getting our ISAPI DLL to run in IIS7 on WinSvr2008R2(64b). I wrote down some quick notes to help me repeat the steps that finally got it working. I'll try to provide those here (at least what we did).
Grant "Read & Execute, List folder contents, and Read" rights to IUSR to the folder C:\PathToISAPI_DLL
Copy all DLL files that the ISAPI DLL needs to run into the c:\windows\syswow64 folder (e.g., midas.dll, dbxmss.dll, etc.)
Start IIS Manager
Add the app pool "MyAppPool" [no managed, classic, start now]
Change "Advanced Settings" of new App Pool to allow 32-bit, plus set idle time-out
Add an application "MyApp" to your website using "MyAppPool" and set the physical path to C:\PathToISAPI_DLL
Now you have to do several steps at the DOS prompt to finish configuring things:
cd /d c:\windows\system32\inetsrv
REM *** Grant rights to execute the DLL ***
appcmd.exe set config -section:isapiCgiRestriction /+[path='C:\PathToISAPI_DLL\ISAPI.dll',allowed='true']
REM *** Grant the url of the Execute access for hander mappings ***
appcmd.exe set config "Default Web Site/MyApp/ISAPI.DLL" "/commit:Default Web Site/MyApp" /section:handlers /accessPolicy:Read,Script,Execute
REM *** Make sure you have an ISAPI module mapping for *.dll at that path ***
appcmd.exe list config "Default Web Site/MyApp" /section:handlers | findstr /i *.dll
That's the extent of my notes. I have successfully followed them several times and it has always worked. I have never been able to get it work using just the GUI. I've always had to run the appcmd commands at a DOS prompt to finish configuring things.
Sometimes I still see a 404 error, in which case I delete the web.config from the folder with the ISAPI.DLL and run the last two appcmd commands again. Of course, my ISAPI DLL doesn't have any other settings in the web.config file so it doesn't hurt to just delete it...
Is it not just because the dll is 32 bit and IIS7 is a 64 bit process so is not able to read a Delphi 32 bit dll?
Your main page is static html which is handled by IIS with no problem.
But when IIS tries to load ISAPIGet.dll, it fails because it is not a 64 bit library, or one of its dependency is missing.
Are you sure you use a IIS7 app-pool in 32-bit mode?
Do you have all needed sub-libraries and bpl in the same path or in c:\windows\syswow64 ?
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I'm currently using Ant and Maven in different projects. To be compliant with some regulations, I'm in charge of listing all licenses used in each project.
With Maven, it is easy, as the Maven Project Info Reports Plugin generates such a report automatically.
As I'm not fond of searching licenses for all my JARs I'm using in the projects, I would like to know if there's a plugin for Ant, performing this task.
Thanks in advance!
Since this question hasn't got any hints, pointers or even answers, I hacked a solution by myself: license-report at github
The license-report is an Ant task which determines a license for most jar files. Currently, it searches in the following files for information:
META-INF/MANIFEST.MF
META-INF/LICENSE
LICENSE.txt
LICENSE
license/LICENSE.txt
license/LICENSE
These files are found in several common Open Source/Free Software libraries. Some libraries don't provide any information on their license (e.g. Spring framework).
For these libraries, the task does not find any information.
I will update the project as soon as possible that it prints out a nice xml and html report about the found licenses. Documentation and How To will follow, too.
I'm currently working on a demo project using this Ant task.
The demo project now creates an XML file with all library information. Just start it (with installed Ant) via ant build.xml in the root folder of license-report-demo. It prints out the location of the generated XML file. I will also include an XSLT to transform the XML into a nice HTML report. This will come in several days I think.
I create an XML file for further processing (e.g. CI systems like Hudson/Jenkins). This will help to generate a list of all licenses across projects in a central system.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I'm following along the "Game of Darts" tutorial. I followed the instructions but I'm stuck at "Import libraries from a package". The vector_math dir appears empty after I save the pubspec.yaml file. Am I missing a step or is there a work around?
Thanks,
Adolfo
I followed the tutorial and could not reproduce the problem. Here are a few suggestions: make sure that you are using the latest version of Dart Editor (go to About Dart Editor in the main Dart Editor menu and make sure that your Editor is up to date.
Also, try closing the vector_victor files and collapsing the opened folders in the left bar and then reopen them. Does that do anything?
Finally, try running pub update and see if that does anything.
The suggestions above all seem a little arbitrary, but its hard to solve a problem that I am not able to recreate.
Did you run "pub install" or use "Tools > Pub Install" in Dart Editor?
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I have been given the following requirements.
Create a build file with ANT build that creates a .jar from the source file (Source being in *D:\Root\Products\Application\Files* )
Create a bat file to run the .jar saved in a different location(say in
*D:\Root\Products\Application\ReleaseBuild*)
Where should I start with? I am new to build files and no idea how to begin with. And am a bit confused with the build tutorials.
Please someone suggest a way to begin with.
Thanks in advance.
start with an ant-task that compiles the code to a temp directory (ant-task: javac)
package those files to a jar (ant-task jar) - see, step 1 is essential, because jar does only bundle the files, but does not compile the sources for you
create the bat-script using the ant-task echo