From: Tomas G. <to...@pr...> - 2011-03-09 16:19:36
|
I believe I made a list in the wiki with validations that you should configure not use in eclipse. Regards, Tomas On 03/09/2011 04:45 PM, Albert Nikola wrote: > Tomas, > > Thanks for your quick reply. I executed "ant" from shell and it is > throwing the following output as usual. > > signjar: > [echo] Specify -Dsignjar.keystore=/path/keystore.jks if you want > to sign the release. > > signjar.internal: > > build: > > BUILD SUCCESSFUL > Total time: 35 seconds > > However, in Eclipse's marker window, I could see the bunch of following > errors and warnings. I hope this would enough detail and you could tell > where am i confusing or what I'm doing wrong. Thanks. > > Description Resource Path Location Type > > Ant Buildfile Problem (1 item) > /home/eric/workspace/ejbca/modules/publicweb-gui/${env.APPSRV_HOME} not > found. build.xml /ejbca/modules/publicweb-gui line 76 Ant > Buildfile Problem > > HTML Problem (6 items) > Description Resource Path Location Type > Invalid location of tag (div). header.xhtml > /ejbca/modules/externalra-gui/resources/content/facelet/template line > 10 HTML Problem > Invalid location of tag (div). header.xhtml > /ejbca/modules/externalra-gui/resources/content/facelet/template line > 11 HTML Problem > Invalid location of tag (div). header.xhtml > /ejbca/modules/externalra-gui/resources/content/facelet/template line > 12 HTML Problem > No start tag (<p>). index.html /ejbca/modules/cmpProxy/web line > 15 HTML Problem > Undefined attribute name (alt). SecureEmailUsingOutlook.html > /ejbca/doc/xdocs/sensornet/LDAPHowTo/SecureEmailO line 347 HTML > Problem > Undefined attribute name (onload). enroll-browsercert.xhtml > /ejbca/modules/externalra-gui/resources/content/facelet line 19 > HTML Problem > > JSP Problem (100 of 4270 items) > Description Resource Path Location Type > ACTION cannot be resolved to a variable > certificateprofilespage.jspf > /ejbca/modules/admin-gui/resources/ca/editcertificateprofiles line > 14 JSP Problem > ACTION cannot be resolved to a variable choosecapage.jspf > /ejbca/modules/admin-gui/resources/ca/editcas line 18 JSP Problem > ACTION cannot be resolved to a variable endentityprofilespage.jspf > /ejbca/modules/admin-gui/resources/ra/editendentityprofiles line > 14 JSP Problem > ........ > ACTION_EDIT_CAS cannot be resolved to a variable choosecapage.jspf > /ejbca/modules/admin-gui/resources/ca/editcas line 18 JSP Problem > ACTION_EDIT_CERTIFICATEPROFILES cannot be resolved to a variable > certificateprofilespage.jspf > /ejbca/modules/admin-gui/resources/ca/editcertificateprofiles line > 14 JSP Problem > ACTION_EDIT_ISSUER cannot be resolved to a variable > hardtokenissuerpage.jspf > /ejbca/modules/admin-gui/resources/hardtoken line 30 JSP Problem > ACTION_EDIT_ISSUERS cannot be resolved to a variable > hardtokenissuerspage.jspf > /ejbca/modules/admin-gui/resources/hardtoken line 38 JSP Problem > ACTION_EDIT_PROFILES cannot be resolved to a variable > endentityprofilespage.jspf > /ejbca/modules/admin-gui/resources/ra/editendentityprofiles line > 14 JSP Problem > ACTION_IMPORTCA cannot be resolved to a variable importca.jspf > /ejbca/modules/admin-gui/resources/ca/editcas line 39 JSP Problem > ........ > > > Java Problems (100 of 2162 items) > > Description Resource Path Location Type > ArrayList is a raw type. References to generic type ArrayList<E> should > be parameterized CaCertRequestCommand.java > /ejbca/modules/ejbca-ws-cli/src/org/ejbca/core/protocol/ws/client > line 101 Java Problem > ArrayList is a raw type. References to generic type ArrayList<E> should > be parameterized CaCertRequestCommand.java > /ejbca/modules/ejbca-ws-cli/src/org/ejbca/core/protocol/ws/client > line 101 Java Problem > ArrayList is a raw type. References to generic type ArrayList<E> should > be parameterized CaCertResponseCommand.java > /ejbca/modules/ejbca-ws-cli/src/org/ejbca/core/protocol/ws/client > line 106 Java Problem > ArrayList is a raw type. References to generic type ArrayList<E> should > be parameterized CaCertResponseCommand.java > /ejbca/modules/ejbca-ws-cli/src/org/ejbca/core/protocol/ws/client > line 106 Java Problem > ArrayList is a raw type. References to generic type ArrayList<E> should > be parameterized CaInfoCommand.java > /ejbca/modules/ejbca-ejb-cli/src/org/ejbca/ui/cli/ca line 47 Java > Problem > ArrayList is a raw type. References to generic type ArrayList<E> should > be parameterized CaInfoCommand.java > /ejbca/modules/ejbca-ejb-cli/src/org/ejbca/ui/cli/ca line 47 Java > Problem > ArrayList is a raw type. References to generic type ArrayList<E> should > be parameterized CaInitCommand.java > /ejbca/modules/ejbca-ejb-cli/src/org/ejbca/ui/cli/ca line 234 Java > Problem > .............. > > > XML Problem (100 of 167 items) > cvc-complex-type.2.2: Element 'enable-call-by-reference' must have no > element [children], and the value must be valid. > weblogic-ejb-jar.xml /ejbca/modules/ejbca-ejb/resources line 29 > XML Problem > cvc-complex-type.2.2: Element 'enable-call-by-reference' must have no > element [children], and the value must be valid. > weblogic-ejb-jar.xml /ejbca/modules/ejbca-ejb/resources line 39 > XML Problem > cvc-complex-type.2.2: Element 'enable-call-by-reference' must have no > element [children], and the value must be valid. > weblogic-ejb-jar.xml /ejbca/modules/ejbca-ejb/resources line 49 > XML Problem > cvc-complex-type.2.2: Element 'enable-call-by-reference' must have no > element [children], and the value must be valid. > weblogic-ejb-jar.xml /ejbca/modules/ejbca-ejb/resources line 59 > XML Problem > ......... > cvc-datatype-valid.1.2.1: 'True' is not a valid value for 'boolean'. > weblogic-ejb-jar.xml /ejbca/modules/ejbca-ejb/resources line 29 > XML Problem > cvc-datatype-valid.1.2.1: 'True' is not a valid value for 'boolean'. > weblogic-ejb-jar.xml /ejbca/modules/ejbca-ejb/resources line 39 > XML Problem > cvc-datatype-valid.1.2.1: 'True' is not a valid value for 'boolean'. > weblogic-ejb-jar.xml /ejbca/modules/ejbca-ejb/resources line 49 > XML Problem > .......... > No grammar constraints (DTD or XML schema) detected for the document. > adminguide.xml /ejbca/doc/xdocs line 1 XML Problem > No grammar constraints (DTD or XML schema) detected for the document. > architecture-ocsp.xml /ejbca/doc/xdocs line 1 XML Problem > No grammar constraints (DTD or XML schema) detected for the document. > architecture.xml /ejbca/doc/xdocs line 1 XML Problem > > > On Wed, Mar 9, 2011 at 10:27 AM, Tomas Gustavsson <to...@pr... > <mailto:to...@pr...>> wrote: > > > run ant from the command line. If you have errors in eclipse you should > look at what the error is. Eclipse will tell you in plain text. Look in > the Problems view in eclipse. > > > > On 03/09/2011 04:15 PM, Albert Nikola wrote: > > Tomas, > > > > Thank you for your reply. Actually I refreshed the project as > written in > > developers wiki. But, on project folder and modules folder > showing red > > cross mark, and warning sign showing on some other folders. However, > > after I ran ant from command line, I configured ant in Eclipse and > > trying to build then it is showing following error. Maybe you could > > guide me to right direction by giving some tips and hints. Thank you. > > > > (I created install and ejbca properties files) > > > > create-log4config-bundle: > > [mkdir] Created dir: /home/eric/workspace/ejbca/tmp > > [copy] Warning: Could not find file > > /home/eric/workspace/ejbca/conf/log4j-jboss.xml.sample to copy. > > [copy] Copying 1 file to /home/eric/workspace/ejbca/tmp > > [copy] Warning: Could not find file > > > /home/eric/workspace/ejbca/conf/log4j-${appserver.subtype}.xml.sample to > > copy. > > [copy] Warning: Could not find file > > /home/eric/workspace/ejbca/conf/log4j-${appserver.subtype}.xml to > copy. > > [jar] JARs are never empty, they contain at least a > manifest file > > [jar] Building jar: > > /home/eric/workspace/ejbca/modules/dist/log4jconfig.jar > > [delete] Deleting: /home/eric/workspace/ejbca/tmp/log4j.xml > > ...... > > > > BUILD FAILED > > /home/eric/workspace/ejbca/build.xml:201: The following error > occurred > > while executing this line: > > /home/eric/workspace/ejbca/docs.xmli:42: The following error occurred > > while executing this line: > > /home/eric/workspace/ejbca/docs.xmli:87: > > org.apache.velocity.exception.ResourceNotFoundException: Unable > to find > > resource './site.vsl' > > > > Total time: 43 seconds > > > > Regards, > > Albert > > > > > > On Wed, Mar 9, 2011 at 2:08 AM, Tomas Gustavsson > <to...@pr... <mailto:to...@pr...> > > <mailto:to...@pr... <mailto:to...@pr...>>> wrote: > > > > After running ant you must refresh the project in eclipse so it > > finds the new classes. > > > > Cheers, > > Tomas > > > > > > > > Albert Nikola <alb...@gm... > <mailto:alb...@gm...> > > <mailto:alb...@gm... > <mailto:alb...@gm...>>> wrote: > > > > Hi, > > > > I'm able to run ant successfully. However in Eclipse it is > > showing tons of errors and warnings. Does anybody could > give me > > quick tip what does this mean? Thanks. > > > > Regards, > > Albert > > > > On Tue, Mar 8, 2011 at 4:07 AM, Tomas Gustavsson > > <to...@pr... <mailto:to...@pr...> > <mailto:to...@pr... <mailto:to...@pr...>>> wrote: > > > > > > Hi, you don't need sun jdk, only install openjdk. > > > > I updated the eclipse documentation in the wiki, > > http://wiki.ejbca.org/developers#toc8. > > > > Let me know if that helps. > > > > Cheers, > > Tomas > > > > > > On 03/07/2011 10:54 PM, Albert Nikola wrote: > > > Tomas, > > > > > > Thank you for your quick reply. I've installed Eclipse > > Java EE IDE, > > > sun-java6-jdk, openjdk-6, ant, ejbca 4, jboss 5.1.0. > > First, in the doc > > > you provided, I assume Sun's JDK 1.6 is for EJBCA 4. > > Second, I'm just > > > wondering how to properly import EJBCA src into Eclipse. > > Could you > > > provide brief info? Thanks. > > > > > > Regards, > > > Albert > > > > > > On Mon, Mar 7, 2011 at 2:13 PM, Tomas Gustavsson > > <to...@pr... <mailto:to...@pr...> > <mailto:to...@pr... <mailto:to...@pr...>> > > > <mailto:to...@pr... <mailto:to...@pr...> > <mailto:to...@pr... <mailto:to...@pr...>>>> wrote: > > > > > > > > > Hi, > > > > > > Check out the developers part at the wiki, > > > http://wiki.ejbca.org/developers. Get back if you have > > questions. > > > > > > There is information about using eclipse there. No > > need to install Java > > > EE SDK or glassfish. JBoss is the most battle tested > > app server for > > > EJBCA, but from EJBCA 4.0 glassfish should be well > > supported too. > > > > > > Regards, > > > Tomas > > > > > > On 03/07/2011 07:50 PM, Albert Nikola wrote: > > > > Hi All, > > > > > > > > I'm just newbie to Java and EJBCA, and trying to setup > > development > > > > environment. Could somebody provide helpful resource to > > start? Also, > > > > when installing Java EE 6 SDK is this GlassFish server > > necessary? > > > IMHO, > > > > JBoss is the best supported app server for EJBCA right? > > Thank you all > > > > and I'd greatly appreciate any info. > > > > > > > > Regards, > > > > Albert > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > What You Don't Know About Data Connectivity CAN Hurt You > > > > This paper provides an overview of data connectivity, > > details > > > > its effect on application quality, and explores various > > alternative > > > > solutions. http://p.sf.net/sfu/progress-d2d > > > > > > > > > > > > > > > > _______________________________________________ > > > > Ejbca-develop mailing list > > > > Ejb...@li... > <mailto:Ejb...@li...> > > <mailto:Ejb...@li... > <mailto:Ejb...@li...>> > > > <mailto:Ejb...@li... > <mailto:Ejb...@li...> > > <mailto:Ejb...@li... > <mailto:Ejb...@li...>>> > > > > https://lists.sourceforge.net/lists/listinfo/ejbca-develop > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > What You Don't Know About Data Connectivity CAN Hurt You > > > This paper provides an overview of data connectivity, > > details > > > its effect on application quality, and explores > > various alternative > > > solutions. http://p.sf.net/sfu/progress-d2d > > > _______________________________________________ > > > Ejbca-develop mailing list > > > Ejb...@li... > <mailto:Ejb...@li...> > > <mailto:Ejb...@li... > <mailto:Ejb...@li...>> > > > <mailto:Ejb...@li... > <mailto:Ejb...@li...> > > <mailto:Ejb...@li... > <mailto:Ejb...@li...>>> > > > https://lists.sourceforge.net/lists/listinfo/ejbca-develop > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > What You Don't Know About Data Connectivity CAN Hurt You > > > This paper provides an overview of data connectivity, details > > > its effect on application quality, and explores various > > alternative > > > solutions. http://p.sf.net/sfu/progress-d2d > > > > > > > > > > > > _______________________________________________ > > > Ejbca-develop mailing list > > > Ejb...@li... > <mailto:Ejb...@li...> > > <mailto:Ejb...@li... > <mailto:Ejb...@li...>> > > > https://lists.sourceforge.net/lists/listinfo/ejbca-develop > > > > > ------------------------------------------------------------------------------ > > What You Don't Know About Data Connectivity CAN Hurt You > > This paper provides an overview of data connectivity, > details > > its effect on application quality, and explores various > > alternative > > solutions. http://p.sf.net/sfu/progress-d2d > > _______________________________________________ > > Ejbca-develop mailing list > > Ejb...@li... > <mailto:Ejb...@li...> > > <mailto:Ejb...@li... > <mailto:Ejb...@li...>> > > https://lists.sourceforge.net/lists/listinfo/ejbca-develop > > > > > > > > > ------------------------------------------------------------------------------ > > Colocation vs. Managed Hosting > > A question and answer guide to determining the best fit > > for your organization - today and in the future. > > http://p.sf.net/sfu/internap-sfd2d > > _______________________________________________ > > Ejbca-develop mailing list > > Ejb...@li... > <mailto:Ejb...@li...> > > <mailto:Ejb...@li... > <mailto:Ejb...@li...>> > > https://lists.sourceforge.net/lists/listinfo/ejbca-develop > > > > > > > > > > > ------------------------------------------------------------------------------ > > Colocation vs. Managed Hosting > > A question and answer guide to determining the best fit > > for your organization - today and in the future. > > http://p.sf.net/sfu/internap-sfd2d > > > > > > > > _______________________________________________ > > Ejbca-develop mailing list > > Ejb...@li... > <mailto:Ejb...@li...> > > https://lists.sourceforge.net/lists/listinfo/ejbca-develop > > ------------------------------------------------------------------------------ > Colocation vs. Managed Hosting > A question and answer guide to determining the best fit > for your organization - today and in the future. > http://p.sf.net/sfu/internap-sfd2d > _______________________________________________ > Ejbca-develop mailing list > Ejb...@li... > <mailto:Ejb...@li...> > https://lists.sourceforge.net/lists/listinfo/ejbca-develop > > > > > ------------------------------------------------------------------------------ > Colocation vs. Managed Hosting > A question and answer guide to determining the best fit > for your organization - today and in the future. > http://p.sf.net/sfu/internap-sfd2d > > > > _______________________________________________ > Ejbca-develop mailing list > Ejb...@li... > https://lists.sourceforge.net/lists/listinfo/ejbca-develop |