You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Sagara Gunathunga <sa...@gmail.com> on 2011/05/05 09:14:00 UTC

Axis2 Transport build error

I'm getting following error when building Transport trunk testkit module.

[INFO] MavenReportException: Error while creating archive:Exit code: 1
- javadoc: error - In doclet class
org.apache.axis2.transport.testkit.doclet.TestkitJavadocDoclet,
method start has thrown an exception
java.lang.reflect.InvocationTargetException
java.io.FileNotFoundException:
/opt/dev/code/apache/transport/trunk/modules/testkit/target/resource-info.dat
(No such file or directory)
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.<init>(FileInputStream.java:106)
	at org.apache.axis2.transport.testkit.doclet.TestkitJavadocDoclet.start(TestkitJavadocDoclet.java:54)
	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:597)
	at com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:269)
	at com.sun.tools.javadoc.DocletInvoker.start(DocletInvoker.java:143)
	at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:340)
	at com.sun.tools.javadoc.Start.begin(Start.java:128)
	at com.sun.tools.javadoc.Main.execute(Main.java:41)
	at com.sun.tools.javadoc.Main.main(Main.java:31)


 I can't find resource-info.dat file generated  in the specified
location what i have realized is resource-info.dat file not generated
from TestkitJavadocDoclet class.

 Did i miss something here or is it a build error ?

Thanks !

-- 
Sagara Gunathunga

Blog - http://ssagara.blogspot.com
Web - http://people.apache.org/~sagara/

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Re: Axis2 Transport build error

Posted by Sagara Gunathunga <sa...@gmail.com>.
Thanks Andreas !

Now it's possible to build with release profile.



Thanks !

On Wed, May 25, 2011 at 1:47 AM, Andreas Veithen
<an...@gmail.com> wrote:
> I think it should work now. See my commit comment in r1127257 for more
> details. Please retest and let me know if it works.
>
> Andreas
>
> On Thu, May 19, 2011 at 14:31, Sagara Gunathunga
> <sa...@gmail.com> wrote:
>> Hi Andreas ,
>>
>>  Do you have any update on this ?
>>
>>  I tried to call javadoc plugin in generate-resources phase instead of
>> pre-site  but javadoc plugin skipped by the lifecycle.
>>
>> Thanks !
>>
>> On Mon, May 9, 2011 at 7:32 AM, Sagara Gunathunga
>> <sa...@gmail.com> wrote:
>>> This is happen when I run "mvn clean install " while apache-release
>>> profile  is activated  on  ~/.m2/settings.xml file.
>>>
>>> Thanks !
>>>
>>> On Mon, May 9, 2011 at 1:33 AM, Andreas Veithen
>>> <an...@gmail.com> wrote:
>>>> What is the exact Maven command that you are trying to execute?
>>>>
>>>> Andreas
>>>>
>>>> On Thu, May 5, 2011 at 09:14, Sagara Gunathunga
>>>> <sa...@gmail.com> wrote:
>>>>> I'm getting following error when building Transport trunk testkit module.
>>>>>
>>>>> [INFO] MavenReportException: Error while creating archive:Exit code: 1
>>>>> - javadoc: error - In doclet class
>>>>> org.apache.axis2.transport.testkit.doclet.TestkitJavadocDoclet,
>>>>> method start has thrown an exception
>>>>> java.lang.reflect.InvocationTargetException
>>>>> java.io.FileNotFoundException:
>>>>> /opt/dev/code/apache/transport/trunk/modules/testkit/target/resource-info.dat
>>>>> (No such file or directory)
>>>>>        at java.io.FileInputStream.open(Native Method)
>>>>>        at java.io.FileInputStream.<init>(FileInputStream.java:106)
>>>>>        at org.apache.axis2.transport.testkit.doclet.TestkitJavadocDoclet.start(TestkitJavadocDoclet.java:54)
>>>>>        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:597)
>>>>>        at com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:269)
>>>>>        at com.sun.tools.javadoc.DocletInvoker.start(DocletInvoker.java:143)
>>>>>        at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:340)
>>>>>        at com.sun.tools.javadoc.Start.begin(Start.java:128)
>>>>>        at com.sun.tools.javadoc.Main.execute(Main.java:41)
>>>>>        at com.sun.tools.javadoc.Main.main(Main.java:31)
>>>>>
>>>>>
>>>>>  I can't find resource-info.dat file generated  in the specified
>>>>> location what i have realized is resource-info.dat file not generated
>>>>> from TestkitJavadocDoclet class.
>>>>>
>>>>>  Did i miss something here or is it a build error ?
>>>>>
>>>>> Thanks !
>>>>>
>>>>> --
>>>>> Sagara Gunathunga
>>>>>
>>>>> Blog - http://ssagara.blogspot.com
>>>>> Web - http://people.apache.org/~sagara/
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>>>>> For additional commands, e-mail: java-dev-help@axis.apache.org
>>>>>
>>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>>>> For additional commands, e-mail: java-dev-help@axis.apache.org
>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> Sagara Gunathunga
>>>
>>> Blog - http://ssagara.blogspot.com
>>> Web - http://people.apache.org/~sagara/
>>>
>>
>>
>>
>> --
>> Sagara Gunathunga
>>
>> Blog - http://ssagara.blogspot.com
>> Web - http://people.apache.org/~sagara/
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> For additional commands, e-mail: java-dev-help@axis.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>
>



-- 
Sagara Gunathunga

Blog      - http://ssagara.blogspot.com
Web      - http://people.apache.org/~sagara/
LinkedIn - http://www.linkedin.com/in/ssagara

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Re: Axis2 Transport build error

Posted by Andreas Veithen <an...@gmail.com>.
I think it should work now. See my commit comment in r1127257 for more
details. Please retest and let me know if it works.

Andreas

On Thu, May 19, 2011 at 14:31, Sagara Gunathunga
<sa...@gmail.com> wrote:
> Hi Andreas ,
>
>  Do you have any update on this ?
>
>  I tried to call javadoc plugin in generate-resources phase instead of
> pre-site  but javadoc plugin skipped by the lifecycle.
>
> Thanks !
>
> On Mon, May 9, 2011 at 7:32 AM, Sagara Gunathunga
> <sa...@gmail.com> wrote:
>> This is happen when I run "mvn clean install " while apache-release
>> profile  is activated  on  ~/.m2/settings.xml file.
>>
>> Thanks !
>>
>> On Mon, May 9, 2011 at 1:33 AM, Andreas Veithen
>> <an...@gmail.com> wrote:
>>> What is the exact Maven command that you are trying to execute?
>>>
>>> Andreas
>>>
>>> On Thu, May 5, 2011 at 09:14, Sagara Gunathunga
>>> <sa...@gmail.com> wrote:
>>>> I'm getting following error when building Transport trunk testkit module.
>>>>
>>>> [INFO] MavenReportException: Error while creating archive:Exit code: 1
>>>> - javadoc: error - In doclet class
>>>> org.apache.axis2.transport.testkit.doclet.TestkitJavadocDoclet,
>>>> method start has thrown an exception
>>>> java.lang.reflect.InvocationTargetException
>>>> java.io.FileNotFoundException:
>>>> /opt/dev/code/apache/transport/trunk/modules/testkit/target/resource-info.dat
>>>> (No such file or directory)
>>>>        at java.io.FileInputStream.open(Native Method)
>>>>        at java.io.FileInputStream.<init>(FileInputStream.java:106)
>>>>        at org.apache.axis2.transport.testkit.doclet.TestkitJavadocDoclet.start(TestkitJavadocDoclet.java:54)
>>>>        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:597)
>>>>        at com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:269)
>>>>        at com.sun.tools.javadoc.DocletInvoker.start(DocletInvoker.java:143)
>>>>        at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:340)
>>>>        at com.sun.tools.javadoc.Start.begin(Start.java:128)
>>>>        at com.sun.tools.javadoc.Main.execute(Main.java:41)
>>>>        at com.sun.tools.javadoc.Main.main(Main.java:31)
>>>>
>>>>
>>>>  I can't find resource-info.dat file generated  in the specified
>>>> location what i have realized is resource-info.dat file not generated
>>>> from TestkitJavadocDoclet class.
>>>>
>>>>  Did i miss something here or is it a build error ?
>>>>
>>>> Thanks !
>>>>
>>>> --
>>>> Sagara Gunathunga
>>>>
>>>> Blog - http://ssagara.blogspot.com
>>>> Web - http://people.apache.org/~sagara/
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>>>> For additional commands, e-mail: java-dev-help@axis.apache.org
>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>>> For additional commands, e-mail: java-dev-help@axis.apache.org
>>>
>>>
>>
>>
>>
>> --
>> Sagara Gunathunga
>>
>> Blog - http://ssagara.blogspot.com
>> Web - http://people.apache.org/~sagara/
>>
>
>
>
> --
> Sagara Gunathunga
>
> Blog - http://ssagara.blogspot.com
> Web - http://people.apache.org/~sagara/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Re: Axis2 Transport build error

Posted by Sagara Gunathunga <sa...@gmail.com>.
Hi Andreas ,

 Do you have any update on this ?

 I tried to call javadoc plugin in generate-resources phase instead of
pre-site  but javadoc plugin skipped by the lifecycle.

Thanks !

On Mon, May 9, 2011 at 7:32 AM, Sagara Gunathunga
<sa...@gmail.com> wrote:
> This is happen when I run "mvn clean install " while apache-release
> profile  is activated  on  ~/.m2/settings.xml file.
>
> Thanks !
>
> On Mon, May 9, 2011 at 1:33 AM, Andreas Veithen
> <an...@gmail.com> wrote:
>> What is the exact Maven command that you are trying to execute?
>>
>> Andreas
>>
>> On Thu, May 5, 2011 at 09:14, Sagara Gunathunga
>> <sa...@gmail.com> wrote:
>>> I'm getting following error when building Transport trunk testkit module.
>>>
>>> [INFO] MavenReportException: Error while creating archive:Exit code: 1
>>> - javadoc: error - In doclet class
>>> org.apache.axis2.transport.testkit.doclet.TestkitJavadocDoclet,
>>> method start has thrown an exception
>>> java.lang.reflect.InvocationTargetException
>>> java.io.FileNotFoundException:
>>> /opt/dev/code/apache/transport/trunk/modules/testkit/target/resource-info.dat
>>> (No such file or directory)
>>>        at java.io.FileInputStream.open(Native Method)
>>>        at java.io.FileInputStream.<init>(FileInputStream.java:106)
>>>        at org.apache.axis2.transport.testkit.doclet.TestkitJavadocDoclet.start(TestkitJavadocDoclet.java:54)
>>>        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:597)
>>>        at com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:269)
>>>        at com.sun.tools.javadoc.DocletInvoker.start(DocletInvoker.java:143)
>>>        at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:340)
>>>        at com.sun.tools.javadoc.Start.begin(Start.java:128)
>>>        at com.sun.tools.javadoc.Main.execute(Main.java:41)
>>>        at com.sun.tools.javadoc.Main.main(Main.java:31)
>>>
>>>
>>>  I can't find resource-info.dat file generated  in the specified
>>> location what i have realized is resource-info.dat file not generated
>>> from TestkitJavadocDoclet class.
>>>
>>>  Did i miss something here or is it a build error ?
>>>
>>> Thanks !
>>>
>>> --
>>> Sagara Gunathunga
>>>
>>> Blog - http://ssagara.blogspot.com
>>> Web - http://people.apache.org/~sagara/
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>>> For additional commands, e-mail: java-dev-help@axis.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> For additional commands, e-mail: java-dev-help@axis.apache.org
>>
>>
>
>
>
> --
> Sagara Gunathunga
>
> Blog - http://ssagara.blogspot.com
> Web - http://people.apache.org/~sagara/
>



-- 
Sagara Gunathunga

Blog - http://ssagara.blogspot.com
Web - http://people.apache.org/~sagara/

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Re: Axis2 Transport build error

Posted by Sagara Gunathunga <sa...@gmail.com>.
This is happen when I run "mvn clean install " while apache-release
profile  is activated  on  ~/.m2/settings.xml file.

Thanks !

On Mon, May 9, 2011 at 1:33 AM, Andreas Veithen
<an...@gmail.com> wrote:
> What is the exact Maven command that you are trying to execute?
>
> Andreas
>
> On Thu, May 5, 2011 at 09:14, Sagara Gunathunga
> <sa...@gmail.com> wrote:
>> I'm getting following error when building Transport trunk testkit module.
>>
>> [INFO] MavenReportException: Error while creating archive:Exit code: 1
>> - javadoc: error - In doclet class
>> org.apache.axis2.transport.testkit.doclet.TestkitJavadocDoclet,
>> method start has thrown an exception
>> java.lang.reflect.InvocationTargetException
>> java.io.FileNotFoundException:
>> /opt/dev/code/apache/transport/trunk/modules/testkit/target/resource-info.dat
>> (No such file or directory)
>>        at java.io.FileInputStream.open(Native Method)
>>        at java.io.FileInputStream.<init>(FileInputStream.java:106)
>>        at org.apache.axis2.transport.testkit.doclet.TestkitJavadocDoclet.start(TestkitJavadocDoclet.java:54)
>>        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:597)
>>        at com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:269)
>>        at com.sun.tools.javadoc.DocletInvoker.start(DocletInvoker.java:143)
>>        at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:340)
>>        at com.sun.tools.javadoc.Start.begin(Start.java:128)
>>        at com.sun.tools.javadoc.Main.execute(Main.java:41)
>>        at com.sun.tools.javadoc.Main.main(Main.java:31)
>>
>>
>>  I can't find resource-info.dat file generated  in the specified
>> location what i have realized is resource-info.dat file not generated
>> from TestkitJavadocDoclet class.
>>
>>  Did i miss something here or is it a build error ?
>>
>> Thanks !
>>
>> --
>> Sagara Gunathunga
>>
>> Blog - http://ssagara.blogspot.com
>> Web - http://people.apache.org/~sagara/
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
>> For additional commands, e-mail: java-dev-help@axis.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>
>



-- 
Sagara Gunathunga

Blog - http://ssagara.blogspot.com
Web - http://people.apache.org/~sagara/

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Re: Axis2 Transport build error

Posted by Andreas Veithen <an...@gmail.com>.
What is the exact Maven command that you are trying to execute?

Andreas

On Thu, May 5, 2011 at 09:14, Sagara Gunathunga
<sa...@gmail.com> wrote:
> I'm getting following error when building Transport trunk testkit module.
>
> [INFO] MavenReportException: Error while creating archive:Exit code: 1
> - javadoc: error - In doclet class
> org.apache.axis2.transport.testkit.doclet.TestkitJavadocDoclet,
> method start has thrown an exception
> java.lang.reflect.InvocationTargetException
> java.io.FileNotFoundException:
> /opt/dev/code/apache/transport/trunk/modules/testkit/target/resource-info.dat
> (No such file or directory)
>        at java.io.FileInputStream.open(Native Method)
>        at java.io.FileInputStream.<init>(FileInputStream.java:106)
>        at org.apache.axis2.transport.testkit.doclet.TestkitJavadocDoclet.start(TestkitJavadocDoclet.java:54)
>        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:597)
>        at com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:269)
>        at com.sun.tools.javadoc.DocletInvoker.start(DocletInvoker.java:143)
>        at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:340)
>        at com.sun.tools.javadoc.Start.begin(Start.java:128)
>        at com.sun.tools.javadoc.Main.execute(Main.java:41)
>        at com.sun.tools.javadoc.Main.main(Main.java:31)
>
>
>  I can't find resource-info.dat file generated  in the specified
> location what i have realized is resource-info.dat file not generated
> from TestkitJavadocDoclet class.
>
>  Did i miss something here or is it a build error ?
>
> Thanks !
>
> --
> Sagara Gunathunga
>
> Blog - http://ssagara.blogspot.com
> Web - http://people.apache.org/~sagara/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-dev-help@axis.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org