You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Tim Pizey <ti...@paneris.org> on 2004/03/03 16:06:51 UTC

Problem with assert in jellydoc

Hi, 

I am running out of cvs on my local machine 
but using 1.0-beta-9 on the production machine.
Both systems are running j2sdk1.4.2 

maven dist works on both

On the production machine maven site fails with 

    [javadoc] 
/usr/local/packages/dist/SPIndent/build/org/paneris/spindent/set/quasi/TokenSet.java:128: 
warning: as of release 1.4, assert is a keyword, and may not be used as an 
identifier
    [javadoc]     assert !(one instanceof ComplexTokenSet) || !(two instanceof 
ComplexTokenSet);
    [javadoc]     ^
    [javadoc] 
/usr/local/packages/dist/SPIndent/build/org/paneris/spindent/set/quasi/TokenSet.java:128: 
not a statement
    [javadoc]     assert !(one instanceof ComplexTokenSet) || !(two instanceof 
ComplexTokenSet);
    [javadoc]     ^
    [javadoc] 
/usr/local/packages/dist/SPIndent/build/org/paneris/spindent/set/quasi/TokenSet.java:128: 
';' expected
    [javadoc]     assert !(one instanceof ComplexTokenSet) || !(two instanceof 
ComplexTokenSet);
    [javadoc]            ^

BUILD FAILED
null:37:50: <attainGoal> null:70:84: <ant:copy> Warning: Could not find file 
/usr/local/packages/dist/SPIndent/target/taglib.xml to copy.
Total time: 1 minutes 56 seconds

I have the following in project.properties
maven.compile.deprecation = on
maven.compile.optimize = off
maven.compile.debug = on
maven.compile.source = 1.4
maven.compile.target = 1.4
maven.javadoc.source = 1.4
maven.test.source = 1.4
maven.javadoc.customtags=todo 
todo.name=todo
todo.description="To Do:"


Any clues?

cheers
timp




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Problem with assert in jellydoc

Posted by Tim Pizey <ti...@paneris.org>.
Hi, 

I hope that reporting these problems is helpful. 

I have upgraded maven to 1.0-rc1 and the jellydoc report 
still cannot handle assert and is still reporting itself as javadoc. 

The checkstyle report has stopped working, 
saying that I have content in my prolog. 

maven.log reports many problems with parsing html as ant commands
The actual output does not go to maven.log and is 
so verbose I cannot capture it in my xterm. 

Astonishingly the word 'PanEris' is split into 'PanEr is' within the 
Organisation. 
Much other spurious white space is introduced. 

Even if no time zone is present a TZ Offset / Time  is printed. 
Contributors are mentioned even if there aren't any. 

ampersand entities within urls are not respected. 
The subscribe/unsubscribe links are being rendered as 
mailtos even though they start with http://
(again a whitespace issue I believe)

I cannot get CVS HEAD to work locally. 

I would wish to see the distributions directory below docs, 
well to be honest I would like to see everything in docs moved up to 
target. Then I would set that as my Document-Root. 

Whilst in review mode I would lose the collapsed and expanded images. 

The above problems can be seen at 
http://spindent.paneris.net/

yours
tim pizey


On Wednesday 03 March 2004 3:06 pm, Tim Pizey wrote:
> Hi,
>
> I am running out of cvs on my local machine
> but using 1.0-beta-9 on the production machine.
> Both systems are running j2sdk1.4.2
>
> maven dist works on both
>
> On the production machine maven site fails with
>
>     [javadoc]
> /usr/local/packages/dist/SPIndent/build/org/paneris/spindent/set/quasi/Toke
>nSet.java:128: warning: as of release 1.4, assert is a keyword, and may not
> be used as an identifier
>     [javadoc]     assert !(one instanceof ComplexTokenSet) || !(two
> instanceof ComplexTokenSet);
>     [javadoc]     ^
>     [javadoc]
> /usr/local/packages/dist/SPIndent/build/org/paneris/spindent/set/quasi/Toke
>nSet.java:128: not a statement
>     [javadoc]     assert !(one instanceof ComplexTokenSet) || !(two
> instanceof ComplexTokenSet);
>     [javadoc]     ^
>     [javadoc]
> /usr/local/packages/dist/SPIndent/build/org/paneris/spindent/set/quasi/Toke
>nSet.java:128: ';' expected
>     [javadoc]     assert !(one instanceof ComplexTokenSet) || !(two
> instanceof ComplexTokenSet);
>     [javadoc]            ^
>
> BUILD FAILED
> null:37:50: <attainGoal> null:70:84: <ant:copy> Warning: Could not find
> file /usr/local/packages/dist/SPIndent/target/taglib.xml to copy.
> Total time: 1 minutes 56 seconds
>
> I have the following in project.properties
> maven.compile.deprecation = on
> maven.compile.optimize = off
> maven.compile.debug = on
> maven.compile.source = 1.4
> maven.compile.target = 1.4
> maven.javadoc.source = 1.4
> maven.test.source = 1.4
> maven.javadoc.customtags=todo
> todo.name=todo
> todo.description="To Do:"
>
>
> Any clues?
>
> cheers
> timp
>
>
>
>
> ---------------------------------------------------------------------
> 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