You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Jens Zastrow <je...@dai-labor.de> on 2004/02/05 18:52:20 UTC
Windows SSH Problem (but connection problem)
I´m using version 3.2.0 of the SSH Client.But it is not possible to use the deploy:artefact goal successfully.
I call looks like:
[exec] [DEBUG] Execute:Java13CommandLauncher: Executing 'ssh2' with arguments:
'-l'
'ria'
'bewaehrung'
'cd /tmp/ria/maven/repository/maven-javacc-plugin/jars; chmod g+w maven-javacc-plugin-3.1.jar; chgrp users maven-javacc-plugin-3.1.jar'
but it blocks the console and never returns :-(
I tried to call this command line directly from the console and figured out that the ' might me a problem.
The following call doenst work (the directory exists):
>ssh2 -l x host 'cd /tmp/ria/maven/repository/maven-javacc-plugin/jars'
bash: No such file or directory
But these calls work
>ssh2 -l x host cd /tmp/ria/maven/repository/maven-javacc-plugin/jars
>ssh2 -l x host "cd /tmp/ria/maven/repository/maven-javacc-plugin/jars"
Seems that if the command includes a space and uses the ' it it not corrent interpreted by the ssh2 or the bash.
Thanks
Jens Zastrow
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Generating a PDF
Posted by Emmanuel Venisse <em...@venisse.net>.
If you use the cvs version of pdf plugin, you can do it. But not for
previous versions.
You must redefine maven.pdf.navigationFile property with a new navigation
file (like navigation-pdf.xml) that you put in your wdoc directory.
With this mechanism, you can structure your summary as you want.
I'll release pdf plugin today.
Emmanuel
----- Original Message -----
From: "Jan Nielsen" <jn...@sct.com>
To: "Maven Users List" <us...@maven.apache.org>
Sent: Thursday, February 05, 2004 8:34 PM
Subject: Generating a PDF
> Newbie question...how do I generate a PDF from an xdoc which is not part
> of my "site" documentation, i.e., neither part of navigation.xml nor
> referenced from navigation.xml?
>
> I would like to generate a document similar in form to the output of the
> "maven pdf" goal (which generates a PDF of all the xdoc documentation in
> my "xdocs" directory) except the content of my PDF should be restricted
> to the content of a single xdoc file. I could define a completely new
> project for just this document, but that seems a little silly...there
> must be a better way, right? Can I create my own goal in my maven.xml
> file and invoke the pdf goal in some clever way to produce the document?
>
>
> Thanks,
>
> Jan
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Generating a PDF
Posted by Jan Nielsen <jn...@sct.com>.
Newbie question...how do I generate a PDF from an xdoc which is not part
of my "site" documentation, i.e., neither part of navigation.xml nor
referenced from navigation.xml?
I would like to generate a document similar in form to the output of the
"maven pdf" goal (which generates a PDF of all the xdoc documentation in
my "xdocs" directory) except the content of my PDF should be restricted
to the content of a single xdoc file. I could define a completely new
project for just this document, but that seems a little silly...there
must be a better way, right? Can I create my own goal in my maven.xml
file and invoke the pdf goal in some clever way to produce the document?
Thanks,
Jan
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org