Saptarshi: Is it possible to make a change so that this works both in java6
and java7 ?

Ben

On Sun, Oct 30, 2011 at 2:48 AM, Saptarshi Purkayastha <[email protected]>wrote:

> This is a problem with JDK7.
> You can fix this issue by following the instructions from here:
> http://sunnytalkstech.blogspot.com/2011/08/maven-dependency-for-toolsjar-in-jdk7.html
> But later you may encounter other bugs in the JVM that crashes the
> compilation
>
> You should install JDK 6 and things should compile just fine.
>
> ---
> Regards,
> Saptarshi PURKAYASTHA
>
> My Tech Blog:  http://sunnytalkstech.blogspot.com
> You Live by CHOICE, Not by CHANCE
>
>
> On 29 October 2011 12:58, Raaj S <[email protected]> wrote:
>
>
>>
>> ---------- Forwarded message ----------
>> From: Raaj S <[email protected]>
>> Date: Fri, Oct 28, 2011 at 10:56 PM
>> Subject: Fwd: Subclipse Error in eclipse while trying to download sources
>> from svn
>> To: [email protected]
>> Cc: Daniel Pepper <[email protected]>
>>
>>
>> error in building maven clean install after svn update.
>> eclipse indigo
>> jre 7
>> jdk 1.7.0
>> 64 bit.
>>
>> [INFO] 7 errors
>> [INFO] -------------------------------------------------------------
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Reactor Summary:
>> [INFO]
>> [INFO] OpenMRS ........................................... SUCCESS
>> [6.355s]
>> [INFO] openmrs-tools ..................................... FAILURE
>> [3.900s]
>> [INFO] openmrs-test ...................................... SKIPPED
>> [INFO] openmrs-api ....................................... SKIPPED
>> [INFO] openmrs-web ....................................... SKIPPED
>> [INFO] openmrs-webapp .................................... SKIPPED
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 11.481s
>> [INFO] Finished at: Sat Oct 22 20:18:25 IST 2011
>> [INFO] Final Memory: 14M/34M
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] Failed to execute goal
>> org.apache.maven.plugins:maven-compiler-plugin:2.1:compile
>> (default-compile) on project openmrs-tools: Compilation failure:
>> Compilation failure:
>> [ERROR]
>> \Users\User1\workspace\openmrs\tools\src\main\java\org\openmrs\tools\doclet\ShouldTaglet.java:[16,28]
>> error: package com.sun.tools.doclets does not exist
>> [ERROR]
>> [ERROR]
>> \Users\User1\workspace\openmrs\tools\src\main\java\org\openmrs\tools\doclet\ShouldTaglet.java:[17,0]
>> error: package com.sun.javadoc does not exist
>> [ERROR]
>> [ERROR]
>> \Users\User1\workspace\openmrs\tools\src\main\java\org\openmrs\tools\doclet\ShouldTaglet.java:[23,37]
>> error: cannot find symbol
>> [ERROR]
>> [ERROR]
>> \Users\User1\workspace\openmrs\tools\src\main\java\org\openmrs\tools\doclet\ShouldTaglet.java:[127,24]
>> error: cannot find symbol
>> [ERROR]
>> [ERROR]
>> \Users\User1\workspace\openmrs\tools\src\main\java\org\openmrs\tools\doclet\ShouldTaglet.java:[137,24]
>> error: cannot find symbol
>> [ERROR]
>> [ERROR]
>> \Users\User1\workspace\openmrs\tools\src\main\java\org\openmrs\tools\doclet\ShouldTaglet.java:[114,2]
>> error: cannot find symbol
>> [ERROR]
>> [ERROR]
>> \Users\User1\workspace\openmrs\tools\src\main\java\org\openmrs\tools\doclet\ShouldTaglet.java:[114,14]
>> error: cannot find symbol
>> [ERROR] -> [Help 1]
>> [ERROR]
>> [ERROR] To see the full stack trace of the errors, re-run Maven with the
>> -e switch.
>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>> [ERROR]
>> [ERROR] For more information about the errors and possible solutions,
>> please read the following articles:
>> [ERROR] [Help 1]
>> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
>> [ERROR]
>> [ERROR] After correcting the problems, you can resume the build with the
>> command
>> [ERROR]   mvn <goals> -rf :openmrs-tools
>>
>>
>>
>>
>>
>>
> ------------------------------
> Click here to 
> unsubscribe<[email protected]?body=SIGNOFF%20openmrs-devel-l>from 
> OpenMRS Developers' mailing list

_________________________________________

To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to 
[email protected] with "SIGNOFF openmrs-devel-l" in the  body (not 
the subject) of your e-mail.

[mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l]

Reply via email to