Re: How to develop in Eclipse?

2014-10-11 Thread David Vittor
Hi Jurgen,

Try run mvn install once (this should work), and then afterwards runs mvn
eclipse:eclipse.

I've also created a page in JSPWiki, but have not had time to fully
document. Feel free to update it based on your experience:
https://jspwiki-wiki.apache.org/Wiki.jsp?page=DevelopmentEnvironment

Kind regards,
David V


On Fri, Oct 10, 2014 at 11:15 PM, Jürgen Weber juer...@jwi.de wrote:

 Hi,

 how do you get the JSPWiki source into Eclipse Luna?

 I tried File - import existing Maven project - and selected the toplevel
 pom, this imports several projects, but Java files result not in the
 package structure and one cannot navigate in the source.

 Then I tried mvn eclipse:eclipse, but this fails.

 Could somebody please document how to get the JSPWiki source into Eclipse
 Luna and work with it in
 https://jspwiki-wiki.apache.org/Wiki.jsp?page=Getting%20Involved

 Thanks, Juergen



Re: How to develop in Eclipse?

2014-10-11 Thread David Vittor
Actually I've found the error. It's to do with checkstyle, it should only
apply to the source jspwiki-war and not to all the modules (especially
not jspwiki-wikipages).

Find in pom.xml the section

plugin
  artifactIdmaven-eclipse-plugin/artifactId
  version2.9/version
  configuration
downloadSourcestrue/downloadSources
downloadJavadocstrue/downloadJavadocs
additionalConfig
  file
name.checkstyle/name

location./src/main/config/dev/jspwiki-checkstyle.xml/location
  /file
  file
name.settings/org.eclipse.jdt.core.prefs/name

location./src/main/config/dev/jspwiki-eclipse-codestyle.xml/location
  /file
/additionalConfig
additionalProjectnatures
  projectnaturenet.sourceforge.metrics.nature/projectnature

projectnaturenet.sf.eclipsecs.core.CheckstyleNature/projectnature
/additionalProjectnatures
  /configuration
/plugin

Cut this and move it to jspwiki-war/pom.mxl anywhere within
build/plugins.

Note: I've changed the location path to remove jspwiki-war, as this is
now part of the basedir

That should fix it. Someone should make this change to the svn source!

Cheers,
David V

On Sat, Oct 11, 2014 at 10:43 PM, David Vittor dvit...@gmail.com wrote:

 Hi Jurgen,

 Try run mvn install once (this should work), and then afterwards runs
 mvn eclipse:eclipse.

 I've also created a page in JSPWiki, but have not had time to fully
 document. Feel free to update it based on your experience:
 https://jspwiki-wiki.apache.org/Wiki.jsp?page=DevelopmentEnvironment

 Kind regards,
 David V


 On Fri, Oct 10, 2014 at 11:15 PM, Jürgen Weber juer...@jwi.de wrote:

 Hi,

 how do you get the JSPWiki source into Eclipse Luna?

 I tried File - import existing Maven project - and selected the toplevel
 pom, this imports several projects, but Java files result not in the
 package structure and one cannot navigate in the source.

 Then I tried mvn eclipse:eclipse, but this fails.

 Could somebody please document how to get the JSPWiki source into Eclipse
 Luna and work with it in
 https://jspwiki-wiki.apache.org/Wiki.jsp?page=Getting%20Involved

 Thanks, Juergen





[jira] [Commented] (JSPWIKI-205) Obfuscate on disk content type

2014-10-11 Thread David Vittor (JIRA)

[ 
https://issues.apache.org/jira/browse/JSPWIKI-205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14168515#comment-14168515
 ] 

David Vittor commented on JSPWIKI-205:
--

Hi Glen,

I'm happy to make this change, and will do so when I next get a chance. There 
is already a minimum value defined for the salt, as it has to be the 
blocksize length in the algorithm chosen.

I'll also update the documentation here:
* https://jspwiki-wiki.apache.org/Wiki.jsp?page=CryptographyFramework


 Obfuscate on disk content type
 --

 Key: JSPWIKI-205
 URL: https://issues.apache.org/jira/browse/JSPWIKI-205
 Project: JSPWiki
  Issue Type: Improvement
  Components: Core  storage
Reporter: Chris Lialios
Priority: Trivial
 Attachments: BasicOverview.doc, EncryptingProviderSource.zip, 
 encryption.patch, encryption.patch, encryption.patch, encryption.patch


 We would like to store passwords within the wiki pages. 
 Securing the page is trivial, however the contents on disk remain clear text.
 It would be very nice to have a page type that could be stored in an 
 obfuscated form on disk. 
 As an addition  have a secondary password to display/edit the encrypted 
 contents on disk for those who do not want to use wiki security on the page.
 I suspect this will have potentially drastic effects on the revisions 
 process, but it would be a small price to pay for security.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)