Administrator
|
Joe,
Right: the skip.compilation property should not be set. You only want to set it if you want to use your IDE to build the classes and Ant to do the rest, as described in "building with your IDE": http://wiki.orbeon.com/forms/doc/contributor-guide/java-development#TOC-Building-with-your-IDE. But if you are getting started with this, I recommend you start by building everything with Ant. You can then always switch to sometimes building the classes with Eclipse. I never had that "Error starting modern compiler". I recommend you google it; you'll find several threads about this with might help. Alex On Thu, Mar 25, 2010 at 2:19 PM, jbc2 <[hidden email]> wrote: > > I'm trying to pinpoint a problem; most likely configuration of my project > settings but it's not obvious to me. > > I followed the steps outlined in Dev Env - Java Development & IDE Settings > (http://wiki.orbeon.com/forms/doc/contributor-guide/java-development); NOTE: > I'm using Eclipse/MyEclipse. > > When I run the Ant task "orbeon-war" target it runs successfully (so it > appears)....meaning I get the BUILD SUCCESSFUL message. > > But my orbeon.jar file is only 772K (when it should be a lot bigger, > correct?). > > I've pinpointed that the "classes" target, which calls the <javac> statement > doesn't do anything. (Possibly due to the "skip.compilation=true" property > being set).... > Buildfile: C:\temp\orbeonsrc_Mar24\orbeon-orbeon-forms-f95f0d5\build.xml > init: > [echo] Building Orbeon Forms dev-post-3.7.1.201003252117 > [delete] Deleting: > C:\temp\orbeonsrc_Mar24\orbeon-orbeon-forms-f95f0d5\null590393977 > [echo] ##teamcity[buildNumber 'dev-post-3_7_1_201003252117'] > prepare: > [mkdir] Created dir: > C:\temp\orbeonsrc_Mar24\orbeon-orbeon-forms-f95f0d5\build\classes > [mkdir] Created dir: > C:\temp\orbeonsrc_Mar24\orbeon-orbeon-forms-f95f0d5\build\lib > classpath: > classes: > BUILD SUCCESSFUL > Total time: 344 milliseconds > > > > Am I misunderstanding something? Shouldn't the property NOT be set, in > order to compile the classes which will eventually be added to the > orbeon.jar, which will then get copied into the orbeon.war?? > > I ran the "orbeon-war" without setting the skip.compilation property, and I > get the following... > > Buildfile: C:\temp\orbeonsrc_Mar24\orbeon-orbeon-forms-f95f0d5\build.xml > init: > [echo] Building Orbeon Forms dev-post-3.7.1.201003252115 > [delete] Deleting: > C:\temp\orbeonsrc_Mar24\orbeon-orbeon-forms-f95f0d5\null252720716 > [echo] ##teamcity[buildNumber 'dev-post-3_7_1_201003252115'] > prepare: > classpath: > classes: > [mkdir] Created dir: > C:\temp\orbeonsrc_Mar24\orbeon-orbeon-forms-f95f0d5\build\src > [copy] Copying 1 file to > C:\temp\orbeonsrc_Mar24\orbeon-orbeon-forms-f95f0d5\build\src > [javac] Compiling 799 source files to > C:\temp\orbeonsrc_Mar24\orbeon-orbeon-forms-f95f0d5\build\classes > [javac] Since fork is false, ignoring memoryInitialSize setting. > [javac] Since fork is false, ignoring memoryMaximumSize setting. > > BUILD FAILED > C:\temp\orbeonsrc_Mar24\orbeon-orbeon-forms-f95f0d5\build.xml:228: Error > starting modern compiler > > Total time: 1 second > > Any ideas? I'd really like to start making changes in Eclipse & deploy > them to a local Tomcat server. > > > -- > View this message in context: http://n4.nabble.com/Problems-running-orbeon-war-task-javac-not-running-tp1691330p1691330.html > Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com. > > > -- > You receive this message as a subscriber of the [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws > > -- Orbeon Forms - Web forms, open-source, for the Enterprise - http://www.orbeon.com/ My Twitter: http://twitter.com/avernet -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
UPDATE: "Error starting modern compiler" was resolved by:
Therefore, I think I'm ready to begin "playing around" w/ the actual code and seeing how/where I need to customize/extend/integrate some requirements that are specific to our organization. Thanks for the help. On Fri, Mar 26, 2010 at 1:54 PM, Alessandro Vernet <[hidden email]> wrote: > Joe, > > Right: the skip.compilation property should not be set. You only want > to set it if you want to use your IDE to build the classes and Ant to > do the rest, as described in "building with your IDE": > > http://wiki.orbeon.com/forms/doc/contributor-guide/java-development#TOC-Building-with-your-IDE. > > But if you are getting started with this, I recommend you start by > building everything with Ant. You can then always switch to sometimes > building the classes with Eclipse. > > I never had that "Error starting modern compiler". I recommend you > google it; you'll find several threads about this with might help. > > Alex > > On Thu, Mar 25, 2010 at 2:19 PM, jbc2 <[hidden email]> wrote: >> >> I'm trying to pinpoint a problem; most likely configuration of my project >> settings but it's not obvious to me. >> >> I followed the steps outlined in Dev Env - Java Development & IDE Settings >> (http://wiki.orbeon.com/forms/doc/contributor-guide/java-development); NOTE: >> I'm using Eclipse/MyEclipse. >> >> When I run the Ant task "orbeon-war" target it runs successfully (so it >> appears)....meaning I get the BUILD SUCCESSFUL message. >> >> But my orbeon.jar file is only 772K (when it should be a lot bigger, >> correct?). >> >> I've pinpointed that the "classes" target, which calls the <javac> statement >> doesn't do anything. (Possibly due to the "skip.compilation=true" property >> being set).... >> Buildfile: C:\temp\orbeonsrc_Mar24\orbeon-orbeon-forms-f95f0d5\build.xml >> init: >> [echo] Building Orbeon Forms dev-post-3.7.1.201003252117 >> [delete] Deleting: >> C:\temp\orbeonsrc_Mar24\orbeon-orbeon-forms-f95f0d5\null590393977 >> [echo] ##teamcity[buildNumber 'dev-post-3_7_1_201003252117'] >> prepare: >> [mkdir] Created dir: >> C:\temp\orbeonsrc_Mar24\orbeon-orbeon-forms-f95f0d5\build\classes >> [mkdir] Created dir: >> C:\temp\orbeonsrc_Mar24\orbeon-orbeon-forms-f95f0d5\build\lib >> classpath: >> classes: >> BUILD SUCCESSFUL >> Total time: 344 milliseconds >> >> >> >> Am I misunderstanding something? Shouldn't the property NOT be set, in >> order to compile the classes which will eventually be added to the >> orbeon.jar, which will then get copied into the orbeon.war?? >> >> I ran the "orbeon-war" without setting the skip.compilation property, and I >> get the following... >> >> Buildfile: C:\temp\orbeonsrc_Mar24\orbeon-orbeon-forms-f95f0d5\build.xml >> init: >> [echo] Building Orbeon Forms dev-post-3.7.1.201003252115 >> [delete] Deleting: >> C:\temp\orbeonsrc_Mar24\orbeon-orbeon-forms-f95f0d5\null252720716 >> [echo] ##teamcity[buildNumber 'dev-post-3_7_1_201003252115'] >> prepare: >> classpath: >> classes: >> [mkdir] Created dir: >> C:\temp\orbeonsrc_Mar24\orbeon-orbeon-forms-f95f0d5\build\src >> [copy] Copying 1 file to >> C:\temp\orbeonsrc_Mar24\orbeon-orbeon-forms-f95f0d5\build\src >> [javac] Compiling 799 source files to >> C:\temp\orbeonsrc_Mar24\orbeon-orbeon-forms-f95f0d5\build\classes >> [javac] Since fork is false, ignoring memoryInitialSize setting. >> [javac] Since fork is false, ignoring memoryMaximumSize setting. >> >> BUILD FAILED >> C:\temp\orbeonsrc_Mar24\orbeon-orbeon-forms-f95f0d5\build.xml:228: Error >> starting modern compiler >> >> Total time: 1 second >> >> Any ideas? I'd really like to start making changes in Eclipse & deploy >> them to a local Tomcat server. >> >> >> -- >> View this message in context: http://n4.nabble.com/Problems-running-orbeon-war-task-javac-not-running-tp1691330p1691330.html >> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com. >> >> >> -- >> You receive this message as a subscriber of the [hidden email] mailing list. >> To unsubscribe: mailto:[hidden email] >> For general help: mailto:[hidden email]?subject=help >> OW2 mailing lists service home page: http://www.ow2.org/wws >> >> > > > > -- > Orbeon Forms - Web forms, open-source, for the Enterprise - > http://www.orbeon.com/ > My Twitter: http://twitter.com/avernet > > > -- > You receive this message as a subscriber of the [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws > > -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
Joe,
I'm glad to read you made some good progress on this! Alex On Fri, Mar 26, 2010 at 2:56 PM, Joe <[hidden email]> wrote: > UPDATE: "Error starting modern compiler" was resolved by: > > switching Windows | Preferences | Java | Installed JREs' > > from JRE to JDK > when building w/ Ant inside MyEclipse/Eclipse Ant requires "tools.jar" which > is available in JDK and not JRE. > > I was able to successfully setup my MyEclipse/Eclipse environment (albeit a > different method than gino-m) & make minor code modifications & re-compile > the code (usuing orbeon-war task). My local tomcat, when configured to > use a <Context> pointing to my build path was able to pick-up the changes > successfully. I'm still tweaking the configuration of Tomcat/Orbeon to > improve the perfermonce, and once I document & confirm those steps on a > "vanilla" install, I'll share the steps involved. > > Therefore, I think I'm ready to begin "playing around" w/ the actual code > and seeing how/where I need to customize/extend/integrate some requirements > that are specific to our organization. > > Thanks for the help. > > > On Fri, Mar 26, 2010 at 1:54 PM, Alessandro Vernet <[hidden email]> > wrote: >> Joe, >> >> Right: the skip.compilation property should not be set. You only want >> to set it if you want to use your IDE to build the classes and Ant to >> do the rest, as described in "building with your IDE": >> >> >> http://wiki.orbeon.com/forms/doc/contributor-guide/java-development#TOC-Building-with-your-IDE. >> >> But if you are getting started with this, I recommend you start by >> building everything with Ant. You can then always switch to sometimes >> building the classes with Eclipse. >> >> I never had that "Error starting modern compiler". I recommend you >> google it; you'll find several threads about this with might help. >> >> Alex >> >> On Thu, Mar 25, 2010 at 2:19 PM, jbc2 <[hidden email]> wrote: >>> >>> I'm trying to pinpoint a problem; most likely configuration of my project >>> settings but it's not obvious to me. >>> >>> I followed the steps outlined in Dev Env - Java Development & IDE >>> Settings >>> (http://wiki.orbeon.com/forms/doc/contributor-guide/java-development); >>> NOTE: >>> I'm using Eclipse/MyEclipse. >>> >>> When I run the Ant task "orbeon-war" target it runs successfully (so it >>> appears)....meaning I get the BUILD SUCCESSFUL message. >>> >>> But my orbeon.jar file is only 772K (when it should be a lot bigger, >>> correct?). >>> >>> I've pinpointed that the "classes" target, which calls the <javac> >>> statement >>> doesn't do anything. (Possibly due to the "skip.compilation=true" >>> property >>> being set).... >>> Buildfile: C:\temp\orbeonsrc_Mar24\orbeon-orbeon-forms-f95f0d5\build.xml >>> init: >>> [echo] Building Orbeon Forms dev-post-3.7.1.201003252117 >>> [delete] Deleting: >>> C:\temp\orbeonsrc_Mar24\orbeon-orbeon-forms-f95f0d5\null590393977 >>> [echo] ##teamcity[buildNumber 'dev-post-3_7_1_201003252117'] >>> prepare: >>> [mkdir] Created dir: >>> C:\temp\orbeonsrc_Mar24\orbeon-orbeon-forms-f95f0d5\build\classes >>> [mkdir] Created dir: >>> C:\temp\orbeonsrc_Mar24\orbeon-orbeon-forms-f95f0d5\build\lib >>> classpath: >>> classes: >>> BUILD SUCCESSFUL >>> Total time: 344 milliseconds >>> >>> >>> >>> Am I misunderstanding something? Shouldn't the property NOT be set, in >>> order to compile the classes which will eventually be added to the >>> orbeon.jar, which will then get copied into the orbeon.war?? >>> >>> I ran the "orbeon-war" without setting the skip.compilation property, and >>> I >>> get the following... >>> >>> Buildfile: C:\temp\orbeonsrc_Mar24\orbeon-orbeon-forms-f95f0d5\build.xml >>> init: >>> [echo] Building Orbeon Forms dev-post-3.7.1.201003252115 >>> [delete] Deleting: >>> C:\temp\orbeonsrc_Mar24\orbeon-orbeon-forms-f95f0d5\null252720716 >>> [echo] ##teamcity[buildNumber 'dev-post-3_7_1_201003252115'] >>> prepare: >>> classpath: >>> classes: >>> [mkdir] Created dir: >>> C:\temp\orbeonsrc_Mar24\orbeon-orbeon-forms-f95f0d5\build\src >>> [copy] Copying 1 file to >>> C:\temp\orbeonsrc_Mar24\orbeon-orbeon-forms-f95f0d5\build\src >>> [javac] Compiling 799 source files to >>> C:\temp\orbeonsrc_Mar24\orbeon-orbeon-forms-f95f0d5\build\classes >>> [javac] Since fork is false, ignoring memoryInitialSize setting. >>> [javac] Since fork is false, ignoring memoryMaximumSize setting. >>> >>> BUILD FAILED >>> C:\temp\orbeonsrc_Mar24\orbeon-orbeon-forms-f95f0d5\build.xml:228: Error >>> starting modern compiler >>> >>> Total time: 1 second >>> >>> Any ideas? I'd really like to start making changes in Eclipse & deploy >>> them to a local Tomcat server. >>> >>> >>> -- >>> View this message in context: >>> http://n4.nabble.com/Problems-running-orbeon-war-task-javac-not-running-tp1691330p1691330.html >>> Sent from the Orbeon Forms (ops-users) mailing list archive at >>> Nabble.com. >>> >>> >>> -- >>> You receive this message as a subscriber of the [hidden email] mailing >>> list. >>> To unsubscribe: mailto:[hidden email] >>> For general help: mailto:[hidden email]?subject=help >>> OW2 mailing lists service home page: http://www.ow2.org/wws >>> >>> >> >> >> >> -- >> Orbeon Forms - Web forms, open-source, for the Enterprise - >> http://www.orbeon.com/ >> My Twitter: http://twitter.com/avernet >> >> >> -- >> You receive this message as a subscriber of the [hidden email] mailing >> list. >> To unsubscribe: mailto:[hidden email] >> For general help: mailto:[hidden email]?subject=help >> OW2 mailing lists service home page: http://www.ow2.org/wws >> >> > > > > -- > You receive this message as a subscriber of the [hidden email] mailing > list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > OW2 mailing lists service home page: http://www.ow2.org/wws > > -- Orbeon Forms - Web forms, open-source, for the Enterprise - http://www.orbeon.com/ My Twitter: http://twitter.com/avernet -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Free forum by Nabble | Edit this page |