Hi Muhammad,
Use jruby 1.7.13 and buildr 1.4.19
Edit file <ode 1.3.5 source>/tasks/jbi.rake
Find & Replace the initialize method with the content below
def initialize(*args)
super
prepare { path("lib").include((component.libs +
bootstrap.libs).flatten.uniq) }
enhance do
case jbi_xml
when String
path("META-INF").include jbi_xml.path, :as=>"jbi.xml"
when nil, true
# Tempfiles gets deleted on garbage collection, so we're going to
hold on to it
# through instance variable not closure variable.
@jbi_xml_tmp = Tempfile.new('MANIFEST.MF')
@jbi_xml_tmp.write descriptor
path("META-INF").include @jbi_xml_tmp.path, :as=>"jbi.xml"
@jbi_xml_tmp.close
when Proc, Method
@jbi_xml_tmp = Tempfile.new('MANIFEST.MF')
@jbi_xml_tmp.write jbi_xml.call.to_s
path("META-INF").include @jbi_xml_tmp.path, :as=>"jbi.xml"
@jbi_xml_tmp.close
end
end
end
regards,
sathwik
On Wed, Aug 2, 2017 at 6:31 PM, Muhammad Adeel Zahid <[email protected]>
wrote:
> Hi Community,
>
>
> I have a need to build apache 1.3.5 from the sources so that we can make
> changes and still be able to compile the modified source. I have read
> compilation instructions at http://ode.apache.org/
> developerguide/building-ode.html, but was not able to compile
> successfully. I have put the details of what I tried on a stackoverflow
> question that you can find here https://stackoverflow.com/
> questions/45439748/building-apache-ode-from-the-source-
> jruby-and-buildr?noredirect=1#comment77863641_45439748
>
>
> I would appreciate any help towards building of this project.
>
>
> Regards
>
> Adeel
>
>
>