Yesterday I registered an issue in Jira (a suggestion to solve a problem),
but I enclosed the complete files instead of just including just the changes. So I thought I should get the most updated version of the source. To get the most updated version of OFBiz I checked out the complete source into a new project in eclipse, and tried to compile, but I got the following error: \ofbiz2\applications\content\src\org\ofbiz\content\webapp\ftl\RenderSubConte ntTransform.java: 143: cannot find symbol : method renderSubContentAsText(org.ofbiz.entity.GenericDelegator,java.lang.String,ja va.io.Writer,java.lang.String,java.lang.String,org.ofbiz.entity.GenericValue ,java.util.Map,java.util.Locale,java.lang.String,org.ofbiz.entity.GenericVal ue,java.sql.Timestamp) location: class org.ofbiz.content.content.ContentWorker ContentWorker.renderSubContentAsText(delegator, contentId, out, mapKey, subContentId, subContentDataResourceView, templateRoot, locale, mimeTypeId, userLogin, fromDate); To me this looks like a problem in the content-handling-logic, where the class ContentWorker seems to be missing. I am certain that this is a problem at my computer, but could anyone help me to understand what I should do to make the source compile. Thanks. Torstein |
Administrator
|
Did you follow ?
http://docs.ofbiz.org/display/OFBIZ/FAQ+-+Tips+-+Tricks+-+Cookbook+-+HowTo#FAQ-Tips-Tricks-Cookbook-HowTo-Eclipse Jacques From: "Torstein Hegbom" <[hidden email]> > Yesterday I registered an issue in Jira (a suggestion to solve a problem), > but I enclosed the complete files instead of just including just the > changes. So I thought I should get the most updated version of the source. > > > > To get the most updated version of OFBiz I checked out the complete source > into a new project in eclipse, and tried to compile, but I got the following > error: > > > > \ofbiz2\applications\content\src\org\ofbiz\content\webapp\ftl\RenderSubConte > ntTransform.java: > > 143: cannot find symbol : method > renderSubContentAsText(org.ofbiz.entity.GenericDelegator,java.lang.String,ja > va.io.Writer,java.lang.String,java.lang.String,org.ofbiz.entity.GenericValue > ,java.util.Map,java.util.Locale,java.lang.String,org.ofbiz.entity.GenericVal > ue,java.sql.Timestamp) > > > > location: class org.ofbiz.content.content.ContentWorker > > ContentWorker.renderSubContentAsText(delegator, > contentId, out, mapKey, subContentId, subContentDataResourceView, > templateRoot, locale, mimeTypeId, userLogin, fromDate); > > > > > > To me this looks like a problem in the content-handling-logic, where the > class ContentWorker seems to be missing. I am certain that this is a problem > at my computer, but could anyone help me to understand what I should do to > make the source compile. > > > > Thanks. > > > > Torstein > > |
Yes, I have used that for my previous check-out. My earlier version compiles
just fine. There must be some thing else, thanks anyway. Torstein -----Opprinnelig melding----- Fra: Jacques Le Roux [mailto:[hidden email]] Sendt: 20. mai 2009 10:30 Til: [hidden email] Emne: Re: Compilingproblem Did you follow ? http://docs.ofbiz.org/display/OFBIZ/FAQ+-+Tips+-+Tricks+-+Cookbook+-+HowTo#F AQ-Tips-Tricks-Cookbook-HowTo-Eclipse Jacques From: "Torstein Hegbom" <[hidden email]> > Yesterday I registered an issue in Jira (a suggestion to solve a problem), > but I enclosed the complete files instead of just including just the > changes. So I thought I should get the most updated version of the source. > > > > To get the most updated version of OFBiz I checked out the complete source > into a new project in eclipse, and tried to compile, but I got the following > error: > > > > \ofbiz2\applications\content\src\org\ofbiz\content\webapp\ftl\RenderSubConte > ntTransform.java: > > 143: cannot find symbol : method > renderSubContentAsText(org.ofbiz.entity.GenericDelegator,java.lang.String,ja > va.io.Writer,java.lang.String,java.lang.String,org.ofbiz.entity.GenericValue > ,java.util.Map,java.util.Locale,java.lang.String,org.ofbiz.entity.GenericVal > ue,java.sql.Timestamp) > > > > location: class org.ofbiz.content.content.ContentWorker > > ContentWorker.renderSubContentAsText(delegator, > contentId, out, mapKey, subContentId, subContentDataResourceView, > templateRoot, locale, mimeTypeId, userLogin, fromDate); > > > > > > To me this looks like a problem in the content-handling-logic, where the > class ContentWorker seems to be missing. I am certain that this is a > at my computer, but could anyone help me to understand what I should do to > make the source compile. > > > > Thanks. > > > > Torstein > > |
I synchronized the 09.04-version that was compiling with the current trunk
for 09.04, and got the same problem. Now, I am quite certain that the problem does not exist on my computer. Is it only me that has a problem to compile the 09.04 version when checking out a fresh version using svn? Torstein -----Opprinnelig melding----- Fra: Torstein Hegbom [mailto:[hidden email]] Sendt: 20. mai 2009 10:40 Til: [hidden email]; 'Jacques Le Roux' Emne: SV: Compilingproblem Yes, I have used that for my previous check-out. My earlier version compiles just fine. There must be some thing else, thanks anyway. Torstein -----Opprinnelig melding----- Fra: Jacques Le Roux [mailto:[hidden email]] Sendt: 20. mai 2009 10:30 Til: [hidden email] Emne: Re: Compilingproblem Did you follow ? http://docs.ofbiz.org/display/OFBIZ/FAQ+-+Tips+-+Tricks+-+Cookbook+-+HowTo#F AQ-Tips-Tricks-Cookbook-HowTo-Eclipse Jacques From: "Torstein Hegbom" <[hidden email]> > Yesterday I registered an issue in Jira (a suggestion to solve a problem), > but I enclosed the complete files instead of just including just the > changes. So I thought I should get the most updated version of the source. > > > > To get the most updated version of OFBiz I checked out the complete source > into a new project in eclipse, and tried to compile, but I got the following > error: > > > > \ofbiz2\applications\content\src\org\ofbiz\content\webapp\ftl\RenderSubConte > ntTransform.java: > > 143: cannot find symbol : method > renderSubContentAsText(org.ofbiz.entity.GenericDelegator,java.lang.String,ja > va.io.Writer,java.lang.String,java.lang.String,org.ofbiz.entity.GenericValue > ,java.util.Map,java.util.Locale,java.lang.String,org.ofbiz.entity.GenericVal > ue,java.sql.Timestamp) > > > > location: class org.ofbiz.content.content.ContentWorker > > ContentWorker.renderSubContentAsText(delegator, > contentId, out, mapKey, subContentId, subContentDataResourceView, > templateRoot, locale, mimeTypeId, userLogin, fromDate); > > > > > > To me this looks like a problem in the content-handling-logic, where the > class ContentWorker seems to be missing. I am certain that this is a > at my computer, but could anyone help me to understand what I should do to > make the source compile. > > > > Thanks. > > > > Torstein > > |
Try compiling from the command line and see if it works.
From the OFBiz root: ant clean ant If it works there then it's an eclipse configuration issue. Regards Scott On 20/05/2009, at 10:09 PM, Torstein Hegbom wrote: > I synchronized the 09.04-version that was compiling with the current > trunk > for 09.04, and got the same problem. Now, I am quite certain that the > problem does not exist on my computer. > > Is it only me that has a problem to compile the 09.04 version when > checking > out a fresh version using svn? > > Torstein > > -----Opprinnelig melding----- > Fra: Torstein Hegbom [mailto:[hidden email]] > Sendt: 20. mai 2009 10:40 > Til: [hidden email]; 'Jacques Le Roux' > Emne: SV: Compilingproblem > > Yes, I have used that for my previous check-out. My earlier version > compiles > just fine. There must be some thing else, thanks anyway. > > Torstein > > -----Opprinnelig melding----- > Fra: Jacques Le Roux [mailto:[hidden email]] > Sendt: 20. mai 2009 10:30 > Til: [hidden email] > Emne: Re: Compilingproblem > > Did you follow ? > http://docs.ofbiz.org/display/OFBIZ/FAQ+-+Tips+-+Tricks+-+Cookbook+-+HowTo#F > AQ-Tips-Tricks-Cookbook-HowTo-Eclipse > > Jacques > > From: "Torstein Hegbom" <[hidden email]> >> Yesterday I registered an issue in Jira (a suggestion to solve a >> problem), >> but I enclosed the complete files instead of just including just the >> changes. So I thought I should get the most updated version of the >> source. >> >> >> >> To get the most updated version of OFBiz I checked out the complete >> source >> into a new project in eclipse, and tried to compile, but I got the > following >> error: >> >> >> >> > \ofbiz2\applications\content\src\org\ofbiz\content\webapp\ftl > \RenderSubConte >> ntTransform.java: >> >> 143: cannot find symbol : method >> > renderSubContentAsText > (org.ofbiz.entity.GenericDelegator,java.lang.String,ja >> > va > .io > .Writer > ,java.lang.String,java.lang.String,org.ofbiz.entity.GenericValue >> > ,java > .util > .Map,java.util.Locale,java.lang.String,org.ofbiz.entity.GenericVal >> ue,java.sql.Timestamp) >> >> >> >> location: class org.ofbiz.content.content.ContentWorker >> >> >> ContentWorker.renderSubContentAsText(delegator, >> contentId, out, mapKey, subContentId, subContentDataResourceView, >> templateRoot, locale, mimeTypeId, userLogin, fromDate); >> >> >> >> >> >> To me this looks like a problem in the content-handling-logic, >> where the >> class ContentWorker seems to be missing. I am certain that this is a > problem >> at my computer, but could anyone help me to understand what I >> should do to >> make the source compile. >> >> >> >> Thanks. >> >> >> >> Torstein >> >> > smime.p7s (3K) Download Attachment |
In reply to this post by Jacques Le Roux
if you have made changes to the code, then a merge file is created that
causes problems till you edit the merged file. you go down the list of files that were updated and or merged, when you updated. Torstein Hegbom sent the following on 5/20/2009 1:40 AM: > Yes, I have used that for my previous check-out. My earlier version compiles > just fine. There must be some thing else, thanks anyway. > > Torstein > > -----Opprinnelig melding----- > Fra: Jacques Le Roux [mailto:[hidden email]] > Sendt: 20. mai 2009 10:30 > Til: [hidden email] > Emne: Re: Compilingproblem > > Did you follow ? > http://docs.ofbiz.org/display/OFBIZ/FAQ+-+Tips+-+Tricks+-+Cookbook+-+HowTo#F > AQ-Tips-Tricks-Cookbook-HowTo-Eclipse > > Jacques > > From: "Torstein Hegbom" <[hidden email]> >> Yesterday I registered an issue in Jira (a suggestion to solve a problem), >> but I enclosed the complete files instead of just including just the >> changes. So I thought I should get the most updated version of the source. >> >> >> >> To get the most updated version of OFBiz I checked out the complete source >> into a new project in eclipse, and tried to compile, but I got the > following >> error: >> >> >> >> > \ofbiz2\applications\content\src\org\ofbiz\content\webapp\ftl\RenderSubConte >> ntTransform.java: >> >> 143: cannot find symbol : method >> > renderSubContentAsText(org.ofbiz.entity.GenericDelegator,java.lang.String,ja > va.io.Writer,java.lang.String,java.lang.String,org.ofbiz.entity.GenericValue > ,java.util.Map,java.util.Locale,java.lang.String,org.ofbiz.entity.GenericVal >> ue,java.sql.Timestamp) >> >> >> >> location: class org.ofbiz.content.content.ContentWorker >> >> ContentWorker.renderSubContentAsText(delegator, >> contentId, out, mapKey, subContentId, subContentDataResourceView, >> templateRoot, locale, mimeTypeId, userLogin, fromDate); >> >> >> >> >> >> To me this looks like a problem in the content-handling-logic, where the >> class ContentWorker seems to be missing. I am certain that this is a > problem >> at my computer, but could anyone help me to understand what I should do to >> make the source compile. >> >> >> >> Thanks. >> >> >> >> Torstein >> >> > > -- BJ Freeman http://www.businessesnetwork.com/automation http://bjfreeman.elance.com http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro Systems Integrator. |
Administrator
|
In reply to this post by Torstein Hegbom
Yes, there is an issue. I will take care of this...
Thanks Jacques From: "Torstein Hegbom" <[hidden email]> >I synchronized the 09.04-version that was compiling with the current trunk > for 09.04, and got the same problem. Now, I am quite certain that the > problem does not exist on my computer. > > Is it only me that has a problem to compile the 09.04 version when checking > out a fresh version using svn? > > Torstein > > -----Opprinnelig melding----- > Fra: Torstein Hegbom [mailto:[hidden email]] > Sendt: 20. mai 2009 10:40 > Til: [hidden email]; 'Jacques Le Roux' > Emne: SV: Compilingproblem > > Yes, I have used that for my previous check-out. My earlier version compiles > just fine. There must be some thing else, thanks anyway. > > Torstein > > -----Opprinnelig melding----- > Fra: Jacques Le Roux [mailto:[hidden email]] > Sendt: 20. mai 2009 10:30 > Til: [hidden email] > Emne: Re: Compilingproblem > > Did you follow ? > http://docs.ofbiz.org/display/OFBIZ/FAQ+-+Tips+-+Tricks+-+Cookbook+-+HowTo#F > AQ-Tips-Tricks-Cookbook-HowTo-Eclipse > > Jacques > > From: "Torstein Hegbom" <[hidden email]> >> Yesterday I registered an issue in Jira (a suggestion to solve a problem), >> but I enclosed the complete files instead of just including just the >> changes. So I thought I should get the most updated version of the source. >> >> >> >> To get the most updated version of OFBiz I checked out the complete source >> into a new project in eclipse, and tried to compile, but I got the > following >> error: >> >> >> >> > \ofbiz2\applications\content\src\org\ofbiz\content\webapp\ftl\RenderSubConte >> ntTransform.java: >> >> 143: cannot find symbol : method >> > renderSubContentAsText(org.ofbiz.entity.GenericDelegator,java.lang.String,ja >> > va.io.Writer,java.lang.String,java.lang.String,org.ofbiz.entity.GenericValue >> > ,java.util.Map,java.util.Locale,java.lang.String,org.ofbiz.entity.GenericVal >> ue,java.sql.Timestamp) >> >> >> >> location: class org.ofbiz.content.content.ContentWorker >> >> ContentWorker.renderSubContentAsText(delegator, >> contentId, out, mapKey, subContentId, subContentDataResourceView, >> templateRoot, locale, mimeTypeId, userLogin, fromDate); >> >> >> >> >> >> To me this looks like a problem in the content-handling-logic, where the >> class ContentWorker seems to be missing. I am certain that this is a > problem >> at my computer, but could anyone help me to understand what I should do to >> make the source compile. >> >> >> >> Thanks. >> >> >> >> Torstein >> >> > |
Administrator
|
Fixed at r776656
Jacques From: "Jacques Le Roux" <[hidden email]> > Yes, there is an issue. I will take care of this... > > Thanks > > Jacques > > From: "Torstein Hegbom" <[hidden email]> >>I synchronized the 09.04-version that was compiling with the current trunk >> for 09.04, and got the same problem. Now, I am quite certain that the >> problem does not exist on my computer. >> >> Is it only me that has a problem to compile the 09.04 version when checking >> out a fresh version using svn? >> >> Torstein >> >> -----Opprinnelig melding----- >> Fra: Torstein Hegbom [mailto:[hidden email]] >> Sendt: 20. mai 2009 10:40 >> Til: [hidden email]; 'Jacques Le Roux' >> Emne: SV: Compilingproblem >> >> Yes, I have used that for my previous check-out. My earlier version compiles >> just fine. There must be some thing else, thanks anyway. >> >> Torstein >> >> -----Opprinnelig melding----- >> Fra: Jacques Le Roux [mailto:[hidden email]] >> Sendt: 20. mai 2009 10:30 >> Til: [hidden email] >> Emne: Re: Compilingproblem >> >> Did you follow ? >> http://docs.ofbiz.org/display/OFBIZ/FAQ+-+Tips+-+Tricks+-+Cookbook+-+HowTo#F >> AQ-Tips-Tricks-Cookbook-HowTo-Eclipse >> >> Jacques >> >> From: "Torstein Hegbom" <[hidden email]> >>> Yesterday I registered an issue in Jira (a suggestion to solve a problem), >>> but I enclosed the complete files instead of just including just the >>> changes. So I thought I should get the most updated version of the source. >>> >>> >>> >>> To get the most updated version of OFBiz I checked out the complete source >>> into a new project in eclipse, and tried to compile, but I got the >> following >>> error: >>> >>> >>> >>> >> \ofbiz2\applications\content\src\org\ofbiz\content\webapp\ftl\RenderSubConte >>> ntTransform.java: >>> >>> 143: cannot find symbol : method >>> >> renderSubContentAsText(org.ofbiz.entity.GenericDelegator,java.lang.String,ja >>> >> va.io.Writer,java.lang.String,java.lang.String,org.ofbiz.entity.GenericValue >>> >> ,java.util.Map,java.util.Locale,java.lang.String,org.ofbiz.entity.GenericVal >>> ue,java.sql.Timestamp) >>> >>> >>> >>> location: class org.ofbiz.content.content.ContentWorker >>> >>> ContentWorker.renderSubContentAsText(delegator, >>> contentId, out, mapKey, subContentId, subContentDataResourceView, >>> templateRoot, locale, mimeTypeId, userLogin, fromDate); >>> >>> >>> >>> >>> >>> To me this looks like a problem in the content-handling-logic, where the >>> class ContentWorker seems to be missing. I am certain that this is a >> problem >>> at my computer, but could anyone help me to understand what I should do to >>> make the source compile. >>> >>> >>> >>> Thanks. >>> >>> >>> >>> Torstein >>> >>> >> > |
Thanks. Now it compiles just fine (I had to add barcode4j-fop-ext-0.93.jar
and there is something wrong with groovy_support, but I do not know what that can be). Torstein -----Opprinnelig melding----- Fra: Jacques Le Roux [mailto:[hidden email]] Sendt: 20. mai 2009 12:51 Til: [hidden email] Emne: Re: Compilingproblem Fixed at r776656 Jacques From: "Jacques Le Roux" <[hidden email]> > Yes, there is an issue. I will take care of this... > > Thanks > > Jacques > > From: "Torstein Hegbom" <[hidden email]> >>I synchronized the 09.04-version that was compiling with the current trunk >> for 09.04, and got the same problem. Now, I am quite certain that the >> problem does not exist on my computer. >> >> Is it only me that has a problem to compile the 09.04 version when >> out a fresh version using svn? >> >> Torstein >> >> -----Opprinnelig melding----- >> Fra: Torstein Hegbom [mailto:[hidden email]] >> Sendt: 20. mai 2009 10:40 >> Til: [hidden email]; 'Jacques Le Roux' >> Emne: SV: Compilingproblem >> >> Yes, I have used that for my previous check-out. My earlier version >> just fine. There must be some thing else, thanks anyway. >> >> Torstein >> >> -----Opprinnelig melding----- >> Fra: Jacques Le Roux [mailto:[hidden email]] >> Sendt: 20. mai 2009 10:30 >> Til: [hidden email] >> Emne: Re: Compilingproblem >> >> Did you follow ? >> >> AQ-Tips-Tricks-Cookbook-HowTo-Eclipse >> >> Jacques >> >> From: "Torstein Hegbom" <[hidden email]> >>> Yesterday I registered an issue in Jira (a suggestion to solve a problem), >>> but I enclosed the complete files instead of just including just the >>> changes. So I thought I should get the most updated version of the source. >>> >>> >>> >>> To get the most updated version of OFBiz I checked out the complete source >>> into a new project in eclipse, and tried to compile, but I got the >> following >>> error: >>> >>> >>> >>> >> \ofbiz2\applications\content\src\org\ofbiz\content\webapp\ftl\RenderSubConte >>> ntTransform.java: >>> >>> 143: cannot find symbol : method >>> >> renderSubContentAsText(org.ofbiz.entity.GenericDelegator,java.lang.String,ja >>> >> va.io.Writer,java.lang.String,java.lang.String,org.ofbiz.entity.GenericValue >>> >> ,java.util.Map,java.util.Locale,java.lang.String,org.ofbiz.entity.GenericVal >>> ue,java.sql.Timestamp) >>> >>> >>> >>> location: class org.ofbiz.content.content.ContentWorker >>> >>> ContentWorker.renderSubContentAsText(delegator, >>> contentId, out, mapKey, subContentId, subContentDataResourceView, >>> templateRoot, locale, mimeTypeId, userLogin, fromDate); >>> >>> >>> >>> >>> >>> To me this looks like a problem in the content-handling-logic, where the >>> class ContentWorker seems to be missing. I am certain that this is a >> problem >>> at my computer, but could anyone help me to understand what I should do >>> make the source compile. >>> >>> >>> >>> Thanks. >>> >>> >>> >>> Torstein >>> >>> >> > |
Administrator
|
Thanks for report,
groovy_support looks like explaining the error message I got when running from Eclipse. I will have a look later at both issues Thanks Jacques From: "Torstein Hegbom" <[hidden email]> > Thanks. Now it compiles just fine (I had to add barcode4j-fop-ext-0.93.jar > and there is something wrong with groovy_support, but I do not know what > that can be). > > Torstein > > > -----Opprinnelig melding----- > Fra: Jacques Le Roux [mailto:[hidden email]] > Sendt: 20. mai 2009 12:51 > Til: [hidden email] > Emne: Re: Compilingproblem > > Fixed at r776656 > > Jacques > > From: "Jacques Le Roux" <[hidden email]> >> Yes, there is an issue. I will take care of this... >> >> Thanks >> >> Jacques >> >> From: "Torstein Hegbom" <[hidden email]> >>>I synchronized the 09.04-version that was compiling with the current trunk >>> for 09.04, and got the same problem. Now, I am quite certain that the >>> problem does not exist on my computer. >>> >>> Is it only me that has a problem to compile the 09.04 version when > checking >>> out a fresh version using svn? >>> >>> Torstein >>> >>> -----Opprinnelig melding----- >>> Fra: Torstein Hegbom [mailto:[hidden email]] >>> Sendt: 20. mai 2009 10:40 >>> Til: [hidden email]; 'Jacques Le Roux' >>> Emne: SV: Compilingproblem >>> >>> Yes, I have used that for my previous check-out. My earlier version > compiles >>> just fine. There must be some thing else, thanks anyway. >>> >>> Torstein >>> >>> -----Opprinnelig melding----- >>> Fra: Jacques Le Roux [mailto:[hidden email]] >>> Sendt: 20. mai 2009 10:30 >>> Til: [hidden email] >>> Emne: Re: Compilingproblem >>> >>> Did you follow ? >>> > http://docs.ofbiz.org/display/OFBIZ/FAQ+-+Tips+-+Tricks+-+Cookbook+-+HowTo#F >>> AQ-Tips-Tricks-Cookbook-HowTo-Eclipse >>> >>> Jacques >>> >>> From: "Torstein Hegbom" <[hidden email]> >>>> Yesterday I registered an issue in Jira (a suggestion to solve a > problem), >>>> but I enclosed the complete files instead of just including just the >>>> changes. So I thought I should get the most updated version of the > source. >>>> >>>> >>>> >>>> To get the most updated version of OFBiz I checked out the complete > source >>>> into a new project in eclipse, and tried to compile, but I got the >>> following >>>> error: >>>> >>>> >>>> >>>> >>> > \ofbiz2\applications\content\src\org\ofbiz\content\webapp\ftl\RenderSubConte >>>> ntTransform.java: >>>> >>>> 143: cannot find symbol : method >>>> >>> > renderSubContentAsText(org.ofbiz.entity.GenericDelegator,java.lang.String,ja >>>> >>> > va.io.Writer,java.lang.String,java.lang.String,org.ofbiz.entity.GenericValue >>>> >>> > ,java.util.Map,java.util.Locale,java.lang.String,org.ofbiz.entity.GenericVal >>>> ue,java.sql.Timestamp) >>>> >>>> >>>> >>>> location: class org.ofbiz.content.content.ContentWorker >>>> >>>> ContentWorker.renderSubContentAsText(delegator, >>>> contentId, out, mapKey, subContentId, subContentDataResourceView, >>>> templateRoot, locale, mimeTypeId, userLogin, fromDate); >>>> >>>> >>>> >>>> >>>> >>>> To me this looks like a problem in the content-handling-logic, where the >>>> class ContentWorker seems to be missing. I am certain that this is a >>> problem >>>> at my computer, but could anyone help me to understand what I should do > to >>>> make the source compile. >>>> >>>> >>>> >>>> Thanks. >>>> >>>> >>>> >>>> Torstein >>>> >>>> >>> >> > |
Free forum by Nabble | Edit this page |