Why does 'java -cp backend.jar Example' returns a ClassNotFoundException? - program-entry-point

I know the manifest file looks strange with the path of "main.java...", but my Main class could not be found with a normal path (and neither with the current one)
Thanks for any advice in advance

Related

file strings requires and filename and output variable in cmake

target_link_libraries(${PROJECT_NAME}
serializer
iothub_client
iothub_client_mqtt_transport
umqtt
aziotsharedutil
ssl
crypto
curl
ssl..... utils)
Hello there , I am working on a project where I have a large set of libraries, and have use it like it (shown above). but instead of hardcoding these libraries explicitly,i want write it in a one line.
now I want to write it in a one line for linking, so specifically, what I have tried in the root level I have created a file called "library.lst" and in this .lst file I am giving the path of that library
build/src/con/shared/virtual/serializer/serializer.a"
build/src/con/shared/virtual/iothub_client/iothub_client.a"
build/src/con/shared/virtual/umqtt/ umqtt.a"
build/src/con/shared/virtual/utils/utlis.a
## write for every library
I am placing this .lst file in the folder called "filelist", e.g filelist/Library.lst where it will take all the libraries and will link.
so what I wrote this In each camkelists.txt where this library used by writing
file(STRINGS ${filelist} library) ,
target_link_libraries(${PROJECT NAME} ${library}),
but when I am running this script I an getting the errors like
"error:- "file strings requires and filename and output variable",
and I also have creates build.sh file where I am giving the path of it
"-D"filelist=%FILELISTSPATH%\library.lst"
" so could you please help me here and also need some explanation on it to understand it in a better way.Thanks in advance.

How can I save my Selenium IDE results in .xml format

selenium-side-runner C:\SeleniumIDE\MyProjectOne.side --output-directory C:\SeleniumIDE\Results --output-format=junit
I followed the syntax provided https://www.seleniumhq.org/selenium-ide/docs/en/introduction/command-line-runner/#output-test-results-to-a-file but it gives me an error. In my command line I specify where the file should go but unable to execute. Please help. Sorry I am new to this and apologies if I am not clear on this issue.
I realize that when I put it this way in the command line selenium-side-runner C:\SeleniumIDE\MyProjectOne.side --output-directory C:\SeleniumIDE\Results it does executes but stores format in .json file
New here too.
According to the document URL you post, --output-directory=results should work. Your command line seems omit a = between --output-directory and result.
Try this:
selenium-side-runner C:\SeleniumIDE\MyProjectOne.side --output-directory=C:\SeleniumIDE\Results --output-format=junit
Also, if it still not work, since result means the out put file absolute or relative path, I'm wonder if putting quotation marks helps.
Try this:
selenium-side-runner C:\SeleniumIDE\MyProjectOne.side --output-directory="C:\SeleniumIDE\Results" --output-format=junit

is there any way to splitting Variables in VSCode?

I wonder there is any way to splitting some variables in VSCode?
my example will explain my question better:
I have an exe file in such path C:\path\to\workspace\main\project\project.exe
my cpp source path that will create exe file is this C:\path\to\workspace\main\project\test.cpp
I want to create a task in tasks.json but my oder of variables does not give me the right path
as you understand:
${workspaceFolder} is C:\path\to\workspace
${fileDirname} returns C:\path\to\workspace\main\project
and ${relativeFileDirname}.exe returns main\project.exe
and combination of "${fileDirname}\\${relativeFileDirname}.exe" as a command will return C:\path\to\workspace\main\project\main\project.exe that is wrong.
so I wanted to know there is any other variable that just return the parent of current file or not?
if not can we split variables with \ ?
I hope it makes some sense
thanks
Add new fileDirnameBasename variable
see https://github.com/microsoft/vscode/commit/551db7ec94f02a4bdc8999092cf8bef642b3992d
${fileDirnameBasename} is being added to vscode v1.52 which I believe is what you are looking for.
You can use the extension Command Variable
Use the commands:
extension.commandvariable.file.fileDirBasename
extension.commandvariable.file.fileDirBasename1Up
extension.commandvariable.file.fileDirBasename2Up
btw, as an workaround, this worked for me
"${fileDirname}\\*.exe"
but need a variable for getting parent folder of current open file
any idea?

Apache - Custom Handler

Please consider the following 2 example lines from an Apache config file:
Action xyzHandler /cgi-bin/xyzHandler
AddHandler xyzHandler .xyz
I understand that the effect of the above 2 lines is to "map" files that end with a .xyz extension to the executable /cgi-bin/xyzHandler. I would like to better understand what is meant meant by the term, "map". Does it mean that the contents of the file ending with a .xyz extension is applied to the standard input of /cgi-bin/xyzHandler? Does it mean that a path to the file ending in the .xyz extension is passed as an argument to /cgi-bin/xyzHandler? Does it mean something else? What exactly does it mean?
Thanks for any input.
... doug
In case anyone is interested, it turns out that this question is answered here: http://httpd.apache.org/docs/2.2/mod/mod_actions.html. In a nutshell, the answer is this: The /cgi-bin/xyzHandler script is simply executed. A path to the file ending with a .xyz extension that triggered the execution is made available via the standard CGI PATH_INFO and PATH_TRANSLATED environment variables. Thanks to all for your indulgence.
... doug

How to include .iuml path to generate PlantUML diagram in Doxygen

I'm working on the documentation of a component using Doxygen and I want to include UMLdiagrams in between the text.
I know how to do most of it, as I simply need to copy the .tuml source into my .dox file and run doxygen. However, one of my diagrams is a class diagram that includes other .iuml files, like explained in the PlantUML site.
So, basically, I do:
#mainpage main_page MyDoxygen
\
...
\
#startuml
\
!include iuml_files/Class01.iuml
!include iuml_files/Class02.iuml
\
MainClass <|-- Class01
MainClass <|-- Class02
\
#enduml
Long story short, I don't know how to make Doxygen understand it must look for the .iuml files in the directory (relative path) I'm giving as argument to the include directive.
If I wasn't clear enough as to what I need, please let me know and I will try make it clearer.
Can I please get some help?
I had a similar problem (I own the Word Add-in for plantuml)
You can specify the java property "plantuml.include.path" in the command line :
java -Dplantuml.include.path="c:/mydir" -jar plantuml.jar atest1.txt
(see http://plantuml.sourceforge.net/preprocessing.html)
I expect it'll work when you modify the batch file for calling Plantuml
http://plantuml.sourceforge.net/doxygen.html
I had a similar request for my Word Addin for Plantuml and here it worked.
The Real Answer
Use the PLANTUML_INCLUDE_PATH = ./someRelativeDir configuration, visible in the Doxygen wizard's DOT panel.
The include path is relative to your Doxygen config, ie the starting directory from which the doxygen config is taken.
A Red Herring
I'm leaving the rest of this answer here in case anyone found it previously.
I wrongly reported a bug because I needed new reading glasses and didn't notice a stray character in my path.
This was resolved as not a Doxygen bug
For any interested parties, this is what I saw.
Running PlantUML on generated file /Users/andydent/dev/touchgramdesign/doxygeneratedTG4IM/html/inline_umlgraph_1.pu
Preprocessor Error: Cannot include /Users/andydent/dev/touchgramdesign/doxygeneratedTG4IM/html/handDrawnStyle.iuml
Error line 2 in file: /Users/andydent/dev/touchgramdesign/doxygeneratedTG4IM/html/inline_umlgraph_1.pu
Some diagram description contains errors
error: Problems running PlantUML. Verify that the command 'java -jar "/Library/Java/Extensions/plantuml.jar" -h' works from the command line. Exit code: 1
This is using the configuration setting
PLANTUML_INCLUDE_PATH = ./iumltToCopy
Sharper eyes than mine (at the time) noticed the extra character in the path iuml t ToCopy