[M2] APT and Umlaut

2005-10-28 Thread Daniel Frey
For full internationalization I think APT should be able to handle umlauts. How 
do I code umlaut in APT? xdoc does accept umlauts, APT does translate them into 
something non-readable. Example
 
Einführung --APT--  Einführung
Einfuuml;rung --APT--  Einfuuml;rung
 
I tried to save the APT document as UNICODE, UTF8, but with the same result. 
Any ideas are welcome.
 
Thanks in advance
Daniel Frey


Umlaut Translation not Working

2005-07-18 Thread Daniel Frey
Hello
 
I would expect the maven:site (and therein maven:xdoc) command to correctly
translate umlauts into their corresponding HTML entities when executed.
Instead I get them one-to-one in my html site, which leads to problems for
some web server configurations. I do not override maven.docs.outputencoding
(so it's set to it's default ISO-8859-1), my xdoc have declared ISO-8859-1
as encoding, am using maven 1.0.2, maven-xdoc-plugin 1.9.1,
maven-site-plugin 1.6.1.
 
What am I doing wrong?
 
Tanks
Daniel Frey


AW: relative personal stylesheet location

2005-06-16 Thread Daniel Frey
If I create a new file xdocs/stylesheets/project.css and do a maven clean
site, then I get the following header in my index.html

!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;
html
  head
titleZiele - $pom.name/title
  style type=text/css media=all
@import url(./style/maven-base.css);
@import url(./style/maven-theme.css);
/style
link rel=stylesheet href=./style/print.css type=text/css
media=print/link
meta http-equiv=Content-Type content=text/html;
charset=ISO-8859-1/meta

It seems that project.css is not included automatically. What am I doing
wrong? I am using xdoc-plugin 1.9, javadoc-plugin 1.7.

Daniel

-Ursprngliche Nachricht-
Von: Brett Porter [mailto:[EMAIL PROTECTED] 
Gesendet: Montag, 2. Mai 2005 23:58
An: Maven Users List
Betreff: Re: relative personal stylesheet location

URL needs to be an actual URL, not a relative file.

I can't remember if there are other properties for adding stylesheets, but
you can use the file xdocs/stylesheets/project.css which is included
automatically.

Cheers,
Brett

On 5/2/05, Daniel Frey [EMAIL PROTECTED] wrote:
 Hello
 
 I've got the following project structure for my documentation:
 
 - xdocs +
 +- stylesheets +
 |  +- ups-style.css
 +- navigation.xml
 +- faq.xml
 +- changes.xml
 +- project +
+- index.xml
+- features.xml
+- download.xml
 
 Now I would like to use the stylesheet in the first folder to be 
 introduced for all generated html pages. Therefore I define the
appropriate property:
 
 maven.xdoc.theme.url = style/ups-style.css
 
 Whilst the index.html page (generated from navigation.xml) in the root 
 folder does display the style correctly, those in the project 
 directory don't. The reference is taken relative and is not corrected 
 to be one level more up. The default stylesheets however are 
 referenced correctly. The corresponding source code in the generated html
file looks like this:
 
 style type=text/css media=all
   @import url(./style/maven-base.css);
   @import url(./xdocs/style/ups-style.css);
 /style
 
 My question now: How do I have to specify my personal stylesheet in 
 the property to be referenced correctly? If not possible, what other 
 way to solve this issue?
 
 Thanks in advance
 Daniel Frey
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

AW: [ANN] Maven Artifact Plugin 1.5.2 released

2005-06-16 Thread Daniel Frey
Works just perfect! 

-Ursprngliche Nachricht-
Von: Brett Porter [mailto:[EMAIL PROTECTED] 
Gesendet: Mittwoch, 15. Juni 2005 17:54
An: Maven Users List
Betreff: Re: [ANN] Maven Artifact Plugin 1.5.2 released

I think you want scpexe://. scp:// uses the built in Jsch provider.

- Brett

On 6/16/05, Daniel Frey [EMAIL PROTECTED] wrote:
 Hello
 
 I am using plink.exe, pscp.exe and the following properties:
 
 maven.repo.list = a
 maven.repo.a = scp://maven.a.ch
 maven.repo.a.directory = /data/maven
 maven.repo.a.username = my_name
 maven.repo.a.scp.executable = C:/Path/To/pscp.exe maven.username = 
 my_name
 
 However, I still get the following error:
 
 Failed to deploy to: a Reason:
 org.apache.maven.wagon.authentication.AuthenticationException: Cannot 
 connect. Reason: Private key was not found. You must define a private 
 key or a password for repo: a
 org.apache.maven.wagon.authentication.AuthenticationException: Cannot 
 connect. Reason: Private key was not found. You must define a private 
 key or a password for repo: a
 at
 org.apache.maven.wagon.providers.ssh.ScpWagon.openConnection(ScpWagon.
 java:1
 64)
 at
 org.apache.maven.wagon.AbstractWagon.connect(AbstractWagon.java:123)
 at
 org.apache.maven.wagon.AbstractWagon.connect(AbstractWagon.java:90)
 at
 org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deployFiles
 (Defau
 ltArtifactDeployer.java:376)
 at
 org.apache.maven.artifact.deployer.DefaultArtifactDeployer.doDeploy(De
 faultA
 rtifactDeployer.java:324)
 at
 org.apache.maven.artifact.deployer.DefaultArtifactDeployer.handleDeplo
 y(Defa
 ultArtifactDeployer.java:131)
 at
 org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(Defa
 ultArt
 ifactDeployer.java:102)
 at
 org.apache.maven.artifact.deployer.DeployBean.deploy(DeployBean.java:142)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
 ava:39
 )
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
 orImpl
 .java:25)
 at java.lang.reflect.Method.invoke(Method.java:324)
 at

org.apache.commons.jelly.impl.DynamicBeanTag.doTag(DynamicBeanTag.java:230)
 at

org.apache.commons.jelly.impl.StaticTagScript.run(StaticTagScript.java:145)
 at
 org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
 at
 org.apache.commons.jelly.impl.DynamicTag.doTag(DynamicTag.java:125)
 at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
 at
 org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
 at

org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:
 79)
 at
 org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perform
 Action
 (MavenGoalTag.java:110)
 at com.werken.werkz.Goal.fire(Goal.java:639)
 at com.werken.werkz.Goal.attain(Goal.java:575)
 at
 org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:671)
 at
org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
 at org.apache.maven.cli.App.doMain(App.java:488)
 at org.apache.maven.cli.App.main(App.java:1239)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
 ava:39
 )
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
 orImpl
 .java:25)
 at java.lang.reflect.Method.invoke(Method.java:324)
 at com.werken.forehead.Forehead.run(Forehead.java:551)
 at com.werken.forehead.Forehead.main(Forehead.java:581)
 Caused by: org.apache.maven.wagon.authentication.AuthenticationException:
 Private key was not found. You must define a private key or a password 
 for
 repo: a
 at
 org.apache.maven.wagon.providers.ssh.ScpWagon.openConnection(ScpWagon.
 java:1
 28)
 ... 31 more
 
 BUILD FAILED
 File.. C:\Dokumente und Einstellungen\Daniel 
 Frey\.maven\cache\maven-artifact-plugin-1.5.2\plugin.jelly
 Element... artifact:artifact-deploy
 Line.. 90
 Column 9
 Unable to deploy to any repositories
 Total time: 3 seconds
 Finished at: Wed Jun 15 17:29:25 CEST 2005
 
 -Ursprngliche Nachricht-
 Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Gesendet: Mittwoch, 15. Juni 2005 15:40
 An: users@maven.apache.org; dev@maven.apache.org
 Betreff: [ANN] Maven Artifact Plugin 1.5.2 released
 
 We are pleased to announce the Maven Artifact Plugin 1.5.2 release!
 
 http://maven.apache.org/reference/plugins/artifact/
 
 Tools to manage artifacts and deployment.
 
 Changes in this version include:
 
   Fixed bugs:
 
 o Correct the translation of dependency properties on deployment of the
POM
   Issue: MPARTIFACT-51.
 o Upgrade Wagon SSH External provider to allow the use of no private 
 key

AW: [ANN] Maven Artifact Plugin 1.5.2 released

2005-06-15 Thread Daniel Frey
Hello

I am using plink.exe, pscp.exe and the following properties:

maven.repo.list = a
maven.repo.a = scp://maven.a.ch
maven.repo.a.directory = /data/maven
maven.repo.a.username = my_name
maven.repo.a.scp.executable = C:/Path/To/pscp.exe
maven.username = my_name

However, I still get the following error:

Failed to deploy to: a Reason:
org.apache.maven.wagon.authentication.AuthenticationException: Cannot
connect. Reason: Private key was not found. You must define a private key or
a password for repo: a
org.apache.maven.wagon.authentication.AuthenticationException: Cannot
connect. Reason: Private key was not found. You must define a private key or
a password for repo: a
at
org.apache.maven.wagon.providers.ssh.ScpWagon.openConnection(ScpWagon.java:1
64)
at
org.apache.maven.wagon.AbstractWagon.connect(AbstractWagon.java:123)
at
org.apache.maven.wagon.AbstractWagon.connect(AbstractWagon.java:90)
at
org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deployFiles(Defau
ltArtifactDeployer.java:376)
at
org.apache.maven.artifact.deployer.DefaultArtifactDeployer.doDeploy(DefaultA
rtifactDeployer.java:324)
at
org.apache.maven.artifact.deployer.DefaultArtifactDeployer.handleDeploy(Defa
ultArtifactDeployer.java:131)
at
org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArt
ifactDeployer.java:102)
at
org.apache.maven.artifact.deployer.DeployBean.deploy(DeployBean.java:142)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.commons.jelly.impl.DynamicBeanTag.doTag(DynamicBeanTag.java:230)
at
org.apache.commons.jelly.impl.StaticTagScript.run(StaticTagScript.java:145)
at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
at
org.apache.commons.jelly.impl.DynamicTag.doTag(DynamicTag.java:125)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
at
org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:
79)
at
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction
(MavenGoalTag.java:110)
at com.werken.werkz.Goal.fire(Goal.java:639)
at com.werken.werkz.Goal.attain(Goal.java:575)
at
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:671)
at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
at org.apache.maven.cli.App.doMain(App.java:488)
at org.apache.maven.cli.App.main(App.java:1239)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
Caused by: org.apache.maven.wagon.authentication.AuthenticationException:
Private key was not found. You must define a private key or a password for
repo: a
at
org.apache.maven.wagon.providers.ssh.ScpWagon.openConnection(ScpWagon.java:1
28)
... 31 more

BUILD FAILED
File.. C:\Dokumente und Einstellungen\Daniel
Frey\.maven\cache\maven-artifact-plugin-1.5.2\plugin.jelly
Element... artifact:artifact-deploy
Line.. 90
Column 9
Unable to deploy to any repositories
Total time: 3 seconds
Finished at: Wed Jun 15 17:29:25 CEST 2005

-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Gesendet: Mittwoch, 15. Juni 2005 15:40
An: users@maven.apache.org; dev@maven.apache.org
Betreff: [ANN] Maven Artifact Plugin 1.5.2 released

We are pleased to announce the Maven Artifact Plugin 1.5.2 release! 

http://maven.apache.org/reference/plugins/artifact/

Tools to manage artifacts and deployment. 

Changes in this version include:

  Fixed bugs:

o Correct the translation of dependency properties on deployment of the POM
  Issue: MPARTIFACT-51. 
o Upgrade Wagon SSH External provider to allow the use of no private key,
and
  to correctly pass the private key and port arguments Issue: MPARTIFACT-52.

o Upgrade Wagon SSH provider to fix directory creation in the SFTP provider
  Issue: MPARTIFACT-53.  

To automatically install the plugin, type the following on a single line:

maven plugin:download
  -Dmaven.repo.remote=http://repo1.maven.org/maven
  -DgroupId=maven
  -DartifactId=maven-artifact-plugin
  -Dversion=1.5.2

For a manual installation, you can download the plugin here:
http://www.apache.org/dyn/closer.cgi/java

AW: [ANN] Maven Artifact Plugin 1.5.2 released

2005-06-15 Thread Daniel Frey
Hello

I am using plink.exe, pscp.exe and the following properties:

maven.repo.list = a
maven.repo.a = scp://maven.a.ch
maven.repo.a.directory = /data/maven
maven.repo.a.username = my_name
maven.repo.a.scp.executable = C:/Path/To/pscp.exe
maven.username = my_name

However, I still get the following error:

Failed to deploy to: a Reason:
org.apache.maven.wagon.authentication.AuthenticationException: Cannot
connect. Reason: Private key was not found. You must define a private key or
a password for repo: a
org.apache.maven.wagon.authentication.AuthenticationException: Cannot
connect. Reason: Private key was not found. You must define a private key or
a password for repo: a
at
org.apache.maven.wagon.providers.ssh.ScpWagon.openConnection(ScpWagon.java:1
64)
at
org.apache.maven.wagon.AbstractWagon.connect(AbstractWagon.java:123)
at
org.apache.maven.wagon.AbstractWagon.connect(AbstractWagon.java:90)
at
org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deployFiles(Defau
ltArtifactDeployer.java:376)
at
org.apache.maven.artifact.deployer.DefaultArtifactDeployer.doDeploy(DefaultA
rtifactDeployer.java:324)
at
org.apache.maven.artifact.deployer.DefaultArtifactDeployer.handleDeploy(Defa
ultArtifactDeployer.java:131)
at
org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArt
ifactDeployer.java:102)
at
org.apache.maven.artifact.deployer.DeployBean.deploy(DeployBean.java:142)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.commons.jelly.impl.DynamicBeanTag.doTag(DynamicBeanTag.java:230)
at
org.apache.commons.jelly.impl.StaticTagScript.run(StaticTagScript.java:145)
at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
at
org.apache.commons.jelly.impl.DynamicTag.doTag(DynamicTag.java:125)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
at
org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:
79)
at
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction
(MavenGoalTag.java:110)
at com.werken.werkz.Goal.fire(Goal.java:639)
at com.werken.werkz.Goal.attain(Goal.java:575)
at
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:671)
at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
at org.apache.maven.cli.App.doMain(App.java:488)
at org.apache.maven.cli.App.main(App.java:1239)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
Caused by: org.apache.maven.wagon.authentication.AuthenticationException:
Private key was not found. You must define a private key or a password for
repo: a
at
org.apache.maven.wagon.providers.ssh.ScpWagon.openConnection(ScpWagon.java:1
28)
... 31 more

BUILD FAILED
File.. C:\Dokumente und Einstellungen\Daniel
Frey\.maven\cache\maven-artifact-plugin-1.5.2\plugin.jelly
Element... artifact:artifact-deploy
Line.. 90
Column 9
Unable to deploy to any repositories
Total time: 3 seconds
Finished at: Wed Jun 15 17:29:25 CEST 2005

-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Gesendet: Mittwoch, 15. Juni 2005 15:40
An: users@maven.apache.org; dev@maven.apache.org
Betreff: [ANN] Maven Artifact Plugin 1.5.2 released

We are pleased to announce the Maven Artifact Plugin 1.5.2 release! 

http://maven.apache.org/reference/plugins/artifact/

Tools to manage artifacts and deployment. 

Changes in this version include:

  Fixed bugs:

o Correct the translation of dependency properties on deployment of the POM
  Issue: MPARTIFACT-51. 
o Upgrade Wagon SSH External provider to allow the use of no private key,
and
  to correctly pass the private key and port arguments Issue: MPARTIFACT-52.

o Upgrade Wagon SSH provider to fix directory creation in the SFTP provider
  Issue: MPARTIFACT-53.  

To automatically install the plugin, type the following on a single line:

maven plugin:download
  -Dmaven.repo.remote=http://repo1.maven.org/maven
  -DgroupId=maven
  -DartifactId=maven-artifact-plugin
  -Dversion=1.5.2

For a manual installation, you can download the plugin here:
http://www.apache.org/dyn/closer.cgi/java

Install JCE Provider

2005-05-20 Thread Daniel Frey
Hello

I am trying to dist:deploy under jdk 1.3. An error tells me to install a JCE
provider. I've downloaded the Bouncing Castle JCD Provider for JDK 1.3. How
do I install it? So far I have put it into the ext directory of the jdk
installation. But this doesn't change anything.

Thanks
Daniel Frey



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Install JCE Provider

2005-05-20 Thread Daniel Frey
Hello

I am trying to dist:deploy under jdk 1.3. An error tells me to install a JCE
provider. I've downloaded the Bouncing Castle JCD Provider for JDK 1.3. How
do I install it? So far I have put it into the ext directory of the jdk
installation. But this doesn't change anything.

Thanks
Daniel Frey



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



relative personal stylesheet location

2005-05-02 Thread Daniel Frey
Hello
 
I've got the following project structure for my documentation:
 
- xdocs +
+- stylesheets +
|  +- ups-style.css
+- navigation.xml
+- faq.xml
+- changes.xml
+- project +
   +- index.xml
   +- features.xml
   +- download.xml
 
Now I would like to use the stylesheet in the first folder to be introduced
for all generated html pages. Therefore I define the appropriate property:
 
maven.xdoc.theme.url = style/ups-style.css
 
Whilst the index.html page (generated from navigation.xml) in the root
folder does display the style correctly, those in the project directory
don't. The reference is taken relative and is not corrected to be one level
more up. The default stylesheets however are referenced correctly. The
corresponding source code in the generated html file looks like this:
 
style type=text/css media=all
  @import url(./style/maven-base.css);
  @import url(./xdocs/style/ups-style.css);
/style
 
My question now: How do I have to specify my personal stylesheet in the
property to be referenced correctly? If not possible, what other way to
solve this issue?
 
Thanks in advance
Daniel Frey


AW: table vs. div tag in site

2005-04-28 Thread Daniel Frey
Thanks Brett for the clear answer. I agree with you, tables is hardcoded
layout stuff, and a distinct separation of layout and content is also what I
prefer.

Did you try to stretch the nav column with css yourself? I would appreciate
some help. When trying to extend the maven-basic.css to stretch to the
extend of the page there are basically to ids the should be considered: 

html
...
body class=composite
...
div id=leftColumn
div id=navcolumn
   ...

In my mave-basic.css I added the following instructions:

#navcolumn {
...
height: 100%;
}

#leftColumn {
...
height: 100%;
...
}

However, no stretching is visible. Any clue what would do the trick?

Thanks in advance.
Daniel Frey

-Ursprüngliche Nachricht-
Von: Brett Porter [mailto:[EMAIL PROTECTED] 
Gesendet: Donnerstag, 28. April 2005 08:38
An: Maven Users List
Betreff: Re: table vs. div tag in site

Actually, db.apache.org was done with an older version of Maven. You can get
that look and feel, using the div/ approach, using
maven.xdoc.theme=classic.

Note that the table style is definitely not a good way to be doing layout,
and the web is moving much more towards (albeit slowly) CSS driven layout.

You can customise with a whole new site.jsl as recommended, but also by just
supplying an alternate stylesheet (preferred). The stylesheet could easily
set the left nav to extend to 100% of the content.

- Brett

On 4/28/05, Jörg Schaible [EMAIL PROTECTED] wrote:
 Daniel Frey wrote on Wednesday, April 27, 2005 4:42 PM:
 
  Hello
 
  I am revising my sites css. I would like the left navigation column 
  to have ist gray background going to the bottom of the page. Trying 
  to find out how this can be achieve I have found that there are two 
  different types of maven sites on the web:
  1. Those I get where the left and body columns are just wrapped into 
  a div tag (i.e. http://maven.apache.org/), and 2. those where they 
  are placed with a table (i.e.
  http://db.apache.org/). I would like to have the table version, as 
  it fullfills my needs easily. How can I switch to this type of 
  documentation? Are there templates to be exchanged or so?
 
 There's only one Maven site on the web, the one with CSS. db.apache.org is
not done with Maven. You can apply your own template though by defining your
own site.jsl (see xdoc-plugin docs). Drawback is that you have to update all
parts taken from the original with every new release of the plugin yourself.
 
 - Jörg
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



table vs. div tag in site

2005-04-27 Thread Daniel Frey
Hello

I am revising my sites css. I would like the left navigation column to have
ist gray background going to the bottom of the page. Trying to find out how
this can be achieve I have found that there are two different types of maven
sites on the web: 1. Those I get where the left and body columns are just
wrapped into a div tag (i.e. http://maven.apache.org/), and 2. those where
they are placed with a table (i.e. http://db.apache.org/). I would like to
have the table version, as it fullfills my needs easily. How can I switch to
this type of documentation? Are there templates to be exchanged or so?

Thanks
Daniel Frey



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Replacement for Release Plugin?

2005-01-17 Thread Daniel Frey
Hello,
 
The Release Plugin has been depreciated. What is the replacement for it? How
can I do a release to the target directory (without deployment)?
 
Thanks
Daniel


AW: Replacement for Release Plugin?

2005-01-17 Thread Daniel Frey
I think, the dist:build goal will do the job... 

-Ursprüngliche Nachricht-
Von: Daniel Frey [mailto:[EMAIL PROTECTED] 
Gesendet: Dienstag, 18. Januar 2005 00:39
An: 'Maven Users List'
Betreff: Replacement for Release Plugin?

Hello,
 
The Release Plugin has been depreciated. What is the replacement for it? How
can I do a release to the target directory (without deployment)?
 
Thanks
Daniel



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Classpath order

2004-11-26 Thread Daniel Frey
I have some classpath issues which are (at the moment) only solvable by
specifying the order of the libraries in the classpath. How do I do that
with maven?
 
Thanks, Daniel


AW: German translation

2004-11-12 Thread Daniel Frey
Thanks for the hint. I usually use dict.leo.org. But my question was
unclear: I'd like to know where in the xdocs configuration I can put the
translated terms (like Projektdokumentation for Project documentation)
in order to see it on the generated web site?

Daniel 

-Ursprüngliche Nachricht-
Von: Aleksandr Shneyderman [mailto:[EMAIL PROTECTED] 
Gesendet: Freitag, 12. November 2004 00:56
An: 'Maven Users List'
Betreff: RE: German translation

Try altavista they are the language translation experts, but thye only have
limited selection of languages to translate to. I guess German is one of the
languages on the list

-Original Message-
From: Daniel Frey [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 11, 2004 6:23 PM
To: 'Maven Users List'
Subject: German translation


Is there a way to translate automatically generated documentation titles
like Project documentation into another language?
 
Thanks
Daniel


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AW: German translation

2004-11-12 Thread Daniel Frey
Thanks for your answer. I filed an improvement issue to jira.
Daniel

-Ursprüngliche Nachricht-
Von: Jörg Schaible [mailto:[EMAIL PROTECTED] 
Gesendet: Freitag, 12. November 2004 11:05
An: Maven Users List
Betreff: RE: German translation

Daniel Frey wrote on Friday, November 12, 2004 11:00 AM:

 Thanks for the hint. I usually use dict.leo.org. But my question was
 unclear: I'd like to know where in the xdocs configuration I can put 
 the translated terms (like Projektdokumentation for Project 
 documentation) in order to see it on the generated web site?

Currently only with a customized site.jsl. But this implies, that you'll
have to keep track of all changes later yourself.

- Jörg

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AW: Maven classloader breaks URLs

2004-11-12 Thread Daniel Frey
Thanks for the hint. It solves the problem partly. But I get wired
behaviour, directories are not created aso. Is there a way to debug the
projects source code line by line within my IDE when the tests are run with
maven?

-Ursprüngliche Nachricht-
Von: Brett Porter [mailto:[EMAIL PROTECTED] 
Gesendet: Donnerstag, 11. November 2004 23:33
An: Maven Users List
Betreff: Re: Maven classloader breaks URLs

I'd have to look closer to understand this and see whether it is a real
problem or not, but a possible workaround is to have your tests in a forked
JVM?

maven.junit.fork=true

- Brett


On Thu, 11 Nov 2004 12:51:13 +0100, Daniel Frey [EMAIL PROTECTED] wrote:
 Hello
 
 I am using a method SharkUtils.class.getResource to load resources for 
 my project. The resource is lateron addressed as a file:
 
 001  final String name = sql/hsql/LoaderJob.olj;
 002  final URL resource = SharkUtils.class.getResource(name);
 003  final String external = resource.toExternalForm();
 004  final URI uri = new URI(external);
 005  final String string = uri.getRawPath();
 006  final File file = new File(string);
 
 Running such code in my IDE works great. The values of the variables 
 (using
 toString()) are:
 
 001  sql/hsql/LoaderJob.olj
 002
 file:/E:/Daten/OrderManager/target/classes/ch/xmatrix/om/core/impl/sha
 rk/sql
 /hsql/LoaderJob.olj
 003
 file:/E:/Daten/OrderManager/target/classes/ch/xmatrix/om/core/impl/sha
 rk/sql
 /hsql/LoaderJob.olj
 004
 file:/E:/Daten/OrderManager/target/classes/ch/xmatrix/om/core/impl/sha
 rk/sql
 /hsql/LoaderJob.olj
 005
 /E:/Daten/OrderManager/target/classes/ch/xmatrix/om/core/impl/shark/sq
 l/hsql
 /LoaderJob.olj
 006
 E:\Daten\OrderManager\target\classes\ch\xmatrix\om\core\impl\shark\sql
 \hsql\
 LoaderJob.olj
 
 However running it with maven (within a test case) failes. The values 
 of the variables are:
 
 001  sql/hsql/LoaderJob.olj
 002
 file:E:/Daten/OrderManager/target/classes/ch/xmatrix/om/core/impl/shar
 k/sql/
 hsql/LoaderJob.olj
 003
 file:E:/Daten/OrderManager/target/classes/ch/xmatrix/om/core/impl/shar
 k/sql/
 hsql/LoaderJob.olj
 004
 file:E:/Daten/OrderManager/target/classes/ch/xmatrix/om/core/impl/shar
 k/sql/
 hsql/LoaderJob.olj
 005  null
 006  NPE
 
 The difference is obvious. The URL is not translated to an absolute 
 reference, hence leading to a NPE. I do not know the internals of maven
but:
 If it uses an own class loader, this could explain the behaviour. Or 
 do you have another idea why the URL is not addressed absloutley? Any 
 ideas to resolve this issue?
 
 Thanks
 Daniel
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Maven classloader breaks URLs

2004-11-11 Thread Daniel Frey
Hello

I am using a method SharkUtils.class.getResource to load resources for my
project. The resource is lateron addressed as a file:

001  final String name = sql/hsql/LoaderJob.olj;
002  final URL resource = SharkUtils.class.getResource(name);
003  final String external = resource.toExternalForm();
004  final URI uri = new URI(external);
005  final String string = uri.getRawPath();
006  final File file = new File(string);

Running such code in my IDE works great. The values of the variables (using
toString()) are:

001  sql/hsql/LoaderJob.olj
002
file:/E:/Daten/OrderManager/target/classes/ch/xmatrix/om/core/impl/shark/sql
/hsql/LoaderJob.olj
003
file:/E:/Daten/OrderManager/target/classes/ch/xmatrix/om/core/impl/shark/sql
/hsql/LoaderJob.olj
004
file:/E:/Daten/OrderManager/target/classes/ch/xmatrix/om/core/impl/shark/sql
/hsql/LoaderJob.olj
005
/E:/Daten/OrderManager/target/classes/ch/xmatrix/om/core/impl/shark/sql/hsql
/LoaderJob.olj
006
E:\Daten\OrderManager\target\classes\ch\xmatrix\om\core\impl\shark\sql\hsql\
LoaderJob.olj

However running it with maven (within a test case) failes. The values of the
variables are:

001  sql/hsql/LoaderJob.olj
002
file:E:/Daten/OrderManager/target/classes/ch/xmatrix/om/core/impl/shark/sql/
hsql/LoaderJob.olj
003
file:E:/Daten/OrderManager/target/classes/ch/xmatrix/om/core/impl/shark/sql/
hsql/LoaderJob.olj
004
file:E:/Daten/OrderManager/target/classes/ch/xmatrix/om/core/impl/shark/sql/
hsql/LoaderJob.olj
005  null
006  NPE

The difference is obvious. The URL is not translated to an absolute
reference, hence leading to a NPE. I do not know the internals of maven but:
If it uses an own class loader, this could explain the behaviour. Or do you
have another idea why the URL is not addressed absloutley? Any ideas to
resolve this issue?

Thanks
Daniel



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



German translation

2004-11-11 Thread Daniel Frey
Is there a way to translate automatically generated documentation titles
like Project documentation into another language?
 
Thanks
Daniel


Maven classloader breaks URLs

2004-11-11 Thread Daniel Frey
Hello

I am using a method SharkUtils.class.getResource to load resources for my
project. The resource is lateron addressed as a file:

001  final String name = sql/hsql/LoaderJob.olj;
002  final URL resource = SharkUtils.class.getResource(name);
003  final String external = resource.toExternalForm();
004  final URI uri = new URI(external);
005  final String string = uri.getRawPath();
006  final File file = new File(string);

Running such code in my IDE works great. The values of the variables (using
toString()) are:

001  sql/hsql/LoaderJob.olj
002
file:/E:/Daten/OrderManager/target/classes/ch/xmatrix/om/core/impl/shark/sql
/hsql/LoaderJob.olj
003
file:/E:/Daten/OrderManager/target/classes/ch/xmatrix/om/core/impl/shark/sql
/hsql/LoaderJob.olj
004
file:/E:/Daten/OrderManager/target/classes/ch/xmatrix/om/core/impl/shark/sql
/hsql/LoaderJob.olj
005
/E:/Daten/OrderManager/target/classes/ch/xmatrix/om/core/impl/shark/sql/hsql
/LoaderJob.olj
006
E:\Daten\OrderManager\target\classes\ch\xmatrix\om\core\impl\shark\sql\hsql\
LoaderJob.olj

However running it with maven (within a test case) failes. The values of the
variables are:

001  sql/hsql/LoaderJob.olj
002
file:E:/Daten/OrderManager/target/classes/ch/xmatrix/om/core/impl/shark/sql/
hsql/LoaderJob.olj
003
file:E:/Daten/OrderManager/target/classes/ch/xmatrix/om/core/impl/shark/sql/
hsql/LoaderJob.olj
004
file:E:/Daten/OrderManager/target/classes/ch/xmatrix/om/core/impl/shark/sql/
hsql/LoaderJob.olj
005  null
006  NPE

The difference is obvious. The URL is not translated to an absolute
reference, hence leading to a NPE. I do not know the internals of maven but:
If it uses an own class loader, this could explain the behaviour. Or do you
have another idea why the URL is not addressed absloutley? Any ideas to
resolve this issue?

Thanks
Daniel



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



JCoverage plugin and inner classes (anonymous classes)

2004-10-26 Thread Daniel Frey
Hi,
 
Since I use maven (1.0b8 or so) up to now (1.0) I observe that the JCoverage
plugin does produce wrong results for inner/anonymous classes. I.e. I have
got a class called ClassOne, which has an anonymouls inner class. The two
classes are displayed in the coverage report as ClassOnewith 44% and
ClassOne$1 with 0% tested. The underlining reference to the html-file is in
both cases the same. However, the file displays only the coverage of the
inner class, the outer class does not contain any counts, red or green
lines. 
 
I doublechecked whether the coverage.xml file contains the corresponding
values, which it does. So it seems to be a problem of the plugin itself.
 
I would appreciate to get a full display of the coverage report of classes
even in the presence of inner classes. How is this achievable?
 
Thanks for your help.
Daniel Frey
 


JXR substitute exception

2004-10-18 Thread Daniel Frey
Hi

 

Doing a maven site I get the following error:

 

[copy] Copying 1 file to E:\Daten\OrderManager\target\docs\xref

PackageManager - parsing... ch\xmatrix\om\core\api\Process.java

PackageManager - parsing... ch\xmatrix\om\core\api\Workable.java

PackageManager - parsing... ch\xmatrix\om\core\api\WorkItem.java

 

BUILD FAILED

File.. C:\Dokumente und Einstellungen\Daniel
Frey\.maven\cache\maven-jxr-plu

gin-1.4.1\plugin.jelly

Element... jxr:jxr

Line.. 97

Column 31

org.apache.oro.text.regex.Util.substitute(Ljava/lang/StringBuffer;Lorg/apach
e/oro/text/regex/PatternMatcher;Lorg/apache/oro/text/regex/Pattern;Lorg/apac
he/oro/text/regex/Substitution;Ljava/lang/String;I)I

 

Any hint what this could be?

 

Thanks in advance.

Daniel Frey

 



JXR substitute exception

2004-10-18 Thread Daniel Frey
Thanks for your quick answer!

The project is based on Shark (http://shark.enhydra.org), which uses some
external libraries. They use jython 2.1, which in turn uses oro. No clue
what version it is. However, as I do not plan to use jython as a scripting
language from whithin Shark, removing it from the project.xml's dependency
list solves the problem.

Thanks a lot for your help!
Daniel Frey

-Ursprüngliche Nachricht-
Von: Brett Porter [mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] ] 
Gesendet: Montag, 18. Oktober 2004 14:29
An: Daniel Frey
Cc: Maven Users List
Betreff: Re: AW: JXR substitute exception
the latter. jxr uses 2.0.7 - what are you using?
You can specify the reports to omit jxr if you don't need a source
cross-reference.
- Brett
 
On Mon, 18 Oct 2004 14:20:33 +0200, Daniel Frey [EMAIL PROTECTED] wrote:

 Thanks for the explanation. I need to understand it a bit more. I've 
 just installed standard maven plugins. Is this an incompatibility 
 between different plugins, or between the maven plugins and the 
 project I am developing?
 
 Thanks
 Daniel
 
 -Ursprüngliche Nachricht-
 Von: Brett Porter [mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] ]
 Gesendet: Montag, 18. Oktober 2004 13:39
 An: Maven Users List
 Betreff: Re: JXR substitute exception
 
 looks like an incompatible version of the oro library. unfortunately, 
 the plugin classloaders are not currently separated, so you must
 either:
 - recompile the jxr plugin to use the same version as you
 - use the same oro version as it
 - don't use the jxr plugin.
 
 Regards,
 Brett
 
 On Mon, 18 Oct 2004 12:55:35 +0200, Daniel Frey [EMAIL PROTECTED] wrote:
  Hi
 
  Doing a maven site I get the following error:
 
  [copy] Copying 1 file to E:\Daten\OrderManager\target\docs\xref
  PackageManager - parsing... ch\xmatrix\om\core\api\Process.java
  PackageManager - parsing... ch\xmatrix\om\core\api\Workable.java
  PackageManager - parsing... ch\xmatrix\om\core\api\WorkItem.java
 
  BUILD FAILED
  File.. C:\Dokumente und Einstellungen\Daniel
Frey\.maven\cache\maven-jxr-plugin-1.4.1\plugin.jelly
  Element... jxr:jxr
  Line.. 97
  Column 31
 
 
org.apache.oro.text.regex.Util.substitute(Ljava/lang/StringBuffer;Lorg/apach
e/oro/text/regex/PatternMatcher;Lorg/apache/oro/text/regex/Pattern;Lorg/apac
he/oro/text/regex/Substitution;Ljava/lang/String;I)I
 
  Any hint what this could be?
 
  Thanks in advance.
  Daniel Frey
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AW: JNLP Plugin not working in 1.0

2004-08-14 Thread Daniel Frey
I would be very interested in the fix being integrated into an update of the
JNLP plugin.

Thanks in advance
Daniel 

 -Ursprüngliche Nachricht-
 Von: Dion Gillard [mailto:[EMAIL PROTECTED] 
 Gesendet: Samstag, 14. August 2004 06:59
 An: Maven Users List
 Betreff: Re: JNLP Plugin not working in 1.0
 
 The bug can be fixed if someone is interested.
 
 On Fri, 13 Aug 2004 23:54:41 +0200, Daniel Frey 
 [EMAIL PROTECTED] wrote:
  Thanks for the hint. I am a little bit helpless in 
 understanding the 
  real solution out of the description and comments. 
 Additionally this 
  bug won't get fixed?
  
  It seems to me as a newbe to internals of maven that the two java 
  files could be the solution. The diff indicates that these 
 files exists somewhere.
  But where? I don't find any files like that in the .maven or the 
  install directory. Any hints for how to install the patch 
 (if it is one)?
  
  Thanks a lot
  Daniel
  
   -Ursprüngliche Nachricht-
   Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
   Gesendet: Freitag, 13. August 2004 22:34
   An: Maven Users List
   Betreff: Re: JNLP Plugin not working in 1.0
  
  
  
  
   It is a bug in plugin.jelly. See:
   http://jira.codehaus.org/browse/MPJNLP-13
  
   Marcin Werla
  
    Wiadomosc Oryginalna 
   Od: Daniel Frey [EMAIL PROTECTED]
   Do: 'Maven Users List' [EMAIL PROTECTED]
   Data: Fri, 13 Aug 2004 19:00:00 +0200
   Temat: JNLP Plugin not working in 1.0
  
  
  
   
 
   - To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
  
  
  
 
 
 --
 http://www.multitask.com.au/people/dion/
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


smime.p7s
Description: S/MIME cryptographic signature


AW: JNLP Plugin not working in 1.0

2004-08-14 Thread Daniel Frey
Could you give some hints how to apply the patches?

Thanks in advance
Daniel 

 -Ursprngliche Nachricht-
 Von: Martin van den Bemt [mailto:[EMAIL PROTECTED] 
 Gesendet: Samstag, 14. August 2004 14:09
 An: Maven Users List
 Betreff: Re: JNLP Plugin not working in 1.0
 
 The fix is in http://jira.codehaus.org/browse/MPJNLP-13..
 
 Mvgr,
 Martin
 
 On Sat, 2004-08-14 at 06:58, Dion Gillard wrote:
  The bug can be fixed if someone is interested.
  
  On Fri, 13 Aug 2004 23:54:41 +0200, Daniel Frey 
 [EMAIL PROTECTED] wrote:
   Thanks for the hint. I am a little bit helpless in 
 understanding the 
   real solution out of the description and comments. 
 Additionally this 
   bug won't get fixed?
   
   It seems to me as a newbe to internals of maven that the two java 
   files could be the solution. The diff indicates that 
 these files exists somewhere.
   But where? I don't find any files like that in the .maven or the 
   install directory. Any hints for how to install the patch 
 (if it is one)?
   
   Thanks a lot
   Daniel
   
-Ursprngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 13. August 2004 22:34
An: Maven Users List
Betreff: Re: JNLP Plugin not working in 1.0
   
   
   
   
It is a bug in plugin.jelly. See:
http://jira.codehaus.org/browse/MPJNLP-13
   
Marcin Werla
   
 Wiadomo Oryginalna 
Od: Daniel Frey [EMAIL PROTECTED]
Do: 'Maven Users List' [EMAIL PROTECTED]
Data: Fri, 13 Aug 2004 19:00:00 +0200
Temat: JNLP Plugin not working in 1.0
   
   
   

 --
--- To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
   
   
   
   
   
 --
 Mvgr,
 Martin
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


smime.p7s
Description: S/MIME cryptographic signature


JNLP Plugin not working in 1.0

2004-08-13 Thread Daniel Frey
Thanks for the hint. I am a little bit helpless in understanding the real
solution out of the description and comments. Additionally this bug won't
get fixed? 

It seems to me as a newbe to internals of maven that the two java files
could be the solution. The diff indicates that these files exists somewhere.
But where? I don't find any files like that in the .maven or the install
directory. Any hints for how to install the patch (if it is one)?

Thanks a lot
Daniel

 -Ursprngliche Nachricht-
 Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
 Gesendet: Freitag, 13. August 2004 22:34
 An: Maven Users List
 Betreff: Re: JNLP Plugin not working in 1.0
 
 
 It is a bug in plugin.jelly. See:
 http://jira.codehaus.org/browse/MPJNLP-13
 
 Marcin Werla
 
  Wiadomo Oryginalna 
 Od: Daniel Frey [EMAIL PROTECTED]
 Do: 'Maven Users List' [EMAIL PROTECTED]
 Data: Fri, 13 Aug 2004 19:00:00 +0200
 Temat: JNLP Plugin not working in 1.0
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


smime.p7s
Description: S/MIME cryptographic signature


javadoc:deploy failure

2004-06-11 Thread Daniel Frey
The artifact plugin specifies to set up a repo. I did:

maven.repo.list = xmatrix
maven.repo.xmatrix = scp://www.xmatrix.ch
maven.repo.xmatrix.directory = /my/maven/repository
maven.repo.xmatrix.username = my_username
maven.repo.xmatrix.password = my_password

And I still get the same error. maven -X javadoc:deploy does not feedback
the exact problem. I just get:

Will deploy to 1 repository(ies): xmatrix
Deploying to repository: xmatrix
host: 'www.xmatrix.ch'
com.jcraft.jsch.JSchException: Auth fail

Is there a way to get a more detailed debug message?

Thanks
Daniel Frey

 From: Emmanuel Venisse [EMAIL PROTECTED]
 Subject: javadoc:deploy failure
 Date: Thu, 10 Jun 2004 14:16:07 +0200
 Content-Type: text/plain;
   charset=iso-8859-1
 
 javadoc:deploy goal use the artifact plugin
 (http://maven.apache.org/reference/plugins/artifact/) and the jar:deploy
 goal use the deploy plugin.
 
 You must set properties diffently for this txo plugins.
 
 Emmanuel
 
 - Original Message - 
 From: Daniel Frey [EMAIL PROTECTED]
 To: 'Maven Users List' [EMAIL PROTECTED]
 Sent: Thursday, June 10, 2004 12:52 PM
 Subject: javadoc:deploy failure
 
 
 Hello

 I try to deploy javadoc to the repository without success:

 maven -X javadoc:deploy
 ...
 Will deploy to 1 repository(ies): xmatrix
 Deploying to repository: xmatrix
 host: 'www.xmatrix.ch'
 Failed to deploy to: xmatrix Reason: Cannot connect. Reason: Auth
fail

 I don't understand that, and the debug feedback is sparesly. Deployment
of
 the jars work perfect (maven jar:deploy). Do you see any hint you can
give
 me to solve that problem?

 Thanks
 Daniel Frey


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



javadoc:deploy failure

2004-06-10 Thread Daniel Frey
Hello

I try to deploy javadoc to the repository without success:

maven -X javadoc:deploy
...
Will deploy to 1 repository(ies): xmatrix
Deploying to repository: xmatrix
host: 'www.xmatrix.ch'
Failed to deploy to: xmatrix Reason: Cannot connect. Reason: Auth fail

I don't understand that, and the debug feedback is sparesly. Deployment of
the jars work perfect (maven jar:deploy). Do you see any hint you can give
me to solve that problem?

Thanks
Daniel Frey


smime.p7s
Description: S/MIME cryptographic signature


Best practice: examples, java sources and tests

2004-06-09 Thread Daniel Frey
Hello

I'd like to have in my project structure apart from src/java and src/test
something like src/example. The build artifacts should be accordingly.
However, I don't see a standard way to do that. 

I would like to know how you folks master this situation. How do you manages
examples in your projects? Do you recomend using different projects and do
it with a multiproject goal? Are there other ways?

Thanks
Daniel Frey


smime.p7s
Description: S/MIME cryptographic signature


Deploy JNLP

2004-05-04 Thread Daniel Frey
 To accomplish jnlp deployment I added a pregoal to site:deploy, which 
 copies the jnlp folder to the docs directory. Then I have a link in 
 the html to the .jnlp file to launch it, works great.

Smart guy! Thanks a lot.

Do you have a hint where to put that (as a new maven user)? I tried it in
maven.xml, however recive an error about The prefix ant for element
ant:mkdir is not bound.

Thanks again.
Daniel



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Deploy JNLP

2004-05-04 Thread Daniel Frey
OK, I added 

xmlns:ant=jelly:ant 

to the project element. Now I get 

ASTIdentifier : java.lang.reflect.InvocationTargetException
java.lang.reflect.InvocationTargetException

And the variable docsDest is incorrectly (not) resolved. What am I doing
wrong?

Daniel


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Deploy JNLP

2004-04-25 Thread Daniel Frey
Hi there,

Is there a way to deploy the JNLP artifacts generated by maven jnlp to a
server?

Thanks
Daniel Frey


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AW: how can I change ${basedir}

2004-04-15 Thread Daniel Frey
Simple: because I have a project directory with a subdir for IDEA, Together
and (hopefully) Maven, instead of having the project files cluttering around
in the basedir. Therefore it would be nice not to have to change all
settings when moving the project file but only one.

I just wanna know whether this is possible and how it can be achieved.

-- Daniel

 -Ursprüngliche Nachricht-
 Von: Brett Porter [mailto:[EMAIL PROTECTED] 
 Gesendet: Donnerstag, 15. April 2004 02:27
 An: 'Maven Users List'
 Betreff: RE: how can I change ${basedir}
 
 I don't understand why you want this - putting .. In a lot of 
 places is not that much of a hassle and it is less confusing 
 that something that looks like a relative path but isn't 
 because of some magic override.
 
 - Brett
 
  -Original Message-
  From: Daniel Frey [mailto:[EMAIL PROTECTED]
  Sent: Thursday, 15 April 2004 9:58 AM
  To: 'Maven Users List'
  Subject: how can I change ${basedir}
  
  
  I would be interested in the same subject. No response 
 since over one 
  year on that?
  
  Daniel
  
   Date: Mon, 17 Mar 2003 15:08:32 -0500
   From: Justinus Menzel [EMAIL PROTECTED]
   Subject: how can I change ${basedir}
   Content-Type: text/plain; charset=ISO-8859-1; format=flowed
  
   Hi,
   
   I moved project.xml, maven.xml etc. into a seperate build
  directory. 
   Now I have to put a lot of  ../ in places. Wouldn't it be
  easier to
   just say basedir=..
   in project.properties:
   or
   baseDir../baseDir
   in the POM.
   or
   
   maven -d ..
   doesn't change ${basedir}, so I don't really know what it does.
   
   or
   project basedir=..
   ...
   /project
   (like with ant)
   
   Any idea? Many thanks
   
   Justinus
  
  
  
 -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
 


smime.p7s
Description: S/MIME cryptographic signature


Re: how can I change ${basedir}

2004-04-15 Thread Daniel Frey
Good idea. Thanks a lot.

-- Daniel

 -Ursprüngliche Nachricht-
 Von: Brett Porter [mailto:[EMAIL PROTECTED] 
 Gesendet: Donnerstag, 15. April 2004 09:55
 An: 'Maven Users List'
 Betreff: RE: how can I change ${basedir}
 
 Its possible to move the project file (I understand why you 
 want that), but not possible to move basedir. You'll have to 
 edit project.xml and project.properties to include '..'
 
 Alternatively, you could set myBaseDir=${basedir}/.. And use 
 ${myBaseDir} instead of ${basedir} in your project.
 
 - Brett
 
  -Original Message-
  From: Daniel Frey [mailto:[EMAIL PROTECTED]
  Sent: Thursday, 15 April 2004 5:53 PM
  To: 'Maven Users List'
  Subject: AW: how can I change ${basedir}
  
  
  Simple: because I have a project directory with a subdir for IDEA, 
  Together and (hopefully) Maven, instead of having the project files 
  cluttering around in the basedir. Therefore it would be nice not to 
  have to change all settings when moving the project file 
 but only one. 
  I just wanna know whether this is possible and how it can 
 be achieved.
  -- Daniel
   -Ursprüngliche Nachricht-
   Von: Brett Porter [mailto:[EMAIL PROTECTED]
   Gesendet: Donnerstag, 15. April 2004 02:27
   An: 'Maven Users List'
   Betreff: RE: how can I change ${basedir}
   
   I don't understand why you want this - putting .. In a 
 lot of places 
   is not that much of a hassle and it is less confusing 
 that something 
   that looks like a relative path but isn't because of some magic 
   override.
   
   - Brett
   
-Original Message-
From: Daniel Frey [mailto:[EMAIL PROTECTED]
Sent: Thursday, 15 April 2004 9:58 AM
To: 'Maven Users List'
Subject: how can I change ${basedir}


I would be interested in the same subject. No response
   since over one
year on that?

Daniel

 Date: Mon, 17 Mar 2003 15:08:32 -0500
 From: Justinus Menzel 
 [EMAIL PROTECTED]
 Subject: how can I change ${basedir}
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed

 Hi,
 
 I moved project.xml, maven.xml etc. into a seperate build
directory.
 Now I have to put a lot of  ../ in places. Wouldn't it be
easier to
 just say basedir=..
 in project.properties:
 or
 baseDir../baseDir
 in the POM.
 or
 
 maven -d ..
 doesn't change ${basedir}, so I don't really know 
 what it does.
 
 or
 project basedir=..
 ...
 /project
 (like with ant)
 
 Any idea? Many thanks
 
 Justinus



   
  
 -
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

   
  
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



how can I change ${basedir}

2004-04-14 Thread Daniel Frey
I would be interested in the same subject. No response since over one year
on that?

Daniel

 Date: Mon, 17 Mar 2003 15:08:32 -0500
 From: Justinus Menzel [EMAIL PROTECTED]
 Subject: how can I change ${basedir}
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed

 Hi,
 
 I moved project.xml, maven.xml etc. into a seperate build directory.
 Now I have to put a lot of  ../ in places.
 Wouldn't it be easier to just say
 basedir=..
 in project.properties:
 or
 baseDir../baseDir
 in the POM.
 or
 
 maven -d ..
 doesn't change ${basedir}, so I don't really know what it does.
 
 or
 project basedir=..
 ...
 /project
 (like with ant)
 
 Any idea? Many thanks
 
 Justinus


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



getResource returning relative path

2004-03-22 Thread Daniel Frey
Hi there,

When I use maven to run a test, which includes loading a resource with
MyTest.class.getResource(fileName), the method returns a relativ path.

file:E:/Daten/UPS/ch.xmatrix.gui.splash-impl/target/test-classes/afterClick.
png

There the leading slash is missing. Consequently, an exception is then
thrown.

URI is not hierarchical
java.lang.IllegalArgumentException: URI is not hierarchical
at java.io.File.init(File.java:321)
...

When I run it from my IDE, then the correct path is returned with the
exactly same code:

file:/E:/Daten/UPS/ch.xmatrix.gui.splash-impl/target/test-classes/afterClick
.png

I suppose there is a classloader problem. Could it have to do with maven?

Daniel Frey


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Rebuild

2004-03-17 Thread Daniel Frey
Hi there,

I am using maven for the first time. I think it's great, just what (I
assume) everyone would build on its own when doing big projects.

After using it now for one week, I've got the impression that the maven
scripts do a rebuild anyway, ignoring what really has to be rebuild and what
not. Is this correct?

Thanks
Daniel Frey
http://www.xmatrix.ch


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Rebuild

2004-03-17 Thread Daniel Frey
Hi there,

I am using maven for the first time. I think it's great, just what (I
assume) everyone would build on its own when doing big projects.

After using it now for one week, I've got the impression that the maven
scripts do a rebuild anyway, ignoring what really has to be rebuild and what
not. Is this correct?

Thanks
Daniel Frey
http://www.xmatrix.ch


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Rebuild

2004-03-17 Thread Daniel Frey
Hi,

I have the impression that i.e.

- a java file is compiled although the corresponging class files is newer
than the java file.

Usually in build processes, i.e. a compilation takes only place if there are
not classes or the classes are outdated. In maven, I have the impression
that it compiles always.

Daniel

-Ursprüngliche Nachricht-
Von: Arto Pastinen [mailto:[EMAIL PROTECTED] 
Gesendet: Mittwoch, 17. März 2004 15:03
An: Maven Users List
Betreff: Re: Rebuild

Hi!

Sorry my bad english, but what do you actually means with that rebuild??

Artsi

On Wed, 2004-03-17 at 12:10, Daniel Frey wrote:
 Hi there,
 
 I am using maven for the first time. I think it's great, just what (I
 assume) everyone would build on its own when doing big projects.
 
 After using it now for one week, I've got the impression that the maven
 scripts do a rebuild anyway, ignoring what really has to be rebuild and
what
 not. Is this correct?
 
 Thanks
 Daniel Frey
 http://www.xmatrix.ch
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



smime.p7s
Description: S/MIME cryptographic signature