Re: Compiling the apache ODE 1.4.5 from the sources

2017-08-08 Thread Sathwik B P
Adeel,
Good to know you got it working.

Gangadhar,
ODE 1.3.5 uses the Java APT tool API which was deprecated in Java 7 and has
been completely Removed in Java 8.
http://openjdk.java.net/jeps/117

On Tue, Aug 8, 2017 at 6:17 PM, Muhammad Adeel Zahid <16030...@lums.edu.pk>
wrote:

> I did not try it with java 8 but I did it with 7. The problem I faced was
> about a dependency axis2 war file. The said war file is not available in
> any repositories I searched. So I changed the dependency version from 1.3
> to 1.6.2 and it compiled without problems on java 7.
>
> 
> From: Gangadhar ireddy <gangadhar.ire...@gmail.com>
> Sent: Tuesday, August 8, 2017 5:31:05 PM
> To: user@ode.apache.org
> Subject: Re: Compiling the apache ODE 1.4.5 from the sources
>
> Hi Satwik,
>
> So you mean to say even 1.3.5 is not compatible on java 8?
>
> Regards,
> Gangadhar.
>
> On Tue, Aug 8, 2017 at 5:01 PM, Muhammad Adeel Zahid <16030...@lums.edu.pk
> >
> wrote:
>
> > Hi Sathwik,
> >
> >
> > Thanks for your help. Following your instructions, I was able to compile
> > ode 1.3.5. The only thing I had to do more was changing axis-2 dependency
> > from version 1.3 to 1.6.2. I will copy your response from this thread to
> > stack overflow and accept it as answer.
> >
> >
> > Again, thank you very much for your help.
> >
> >
> > Regards
> >
> > Adeel
> >
> > ________________
> > From: Sathwik B P <sathwik...@gmail.com>
> > Sent: Friday, August 4, 2017 10:14:31 AM
> > To: user@ode.apache.org
> > Subject: Re: Compiling the apache ODE 1.4.5 from the sources
> >
> > Hi Adeel,
> >
> > You are sitting on a 7yrs old release. Why don't you look towards 1.3.7,
> > released recently.
> >
> > Older releases are not compilable on Java 8. Next coming release 1.3.8
> will
> > be compilable on Java 8.
> >
> > xdoclet:xjavadoc-1.1-j5 can be found in this repo. Add this line to
> > repositories.rb
> > repositories.remote << "http://people.apache.org/~vanto/m2/;
> >
> > The distribution archives will be generated under
> > /distro/target/
> >
> > ode-1.3.5 compiles for me on
> > Ubuntu 17.04, java version 1.7.0_80, jruby 1.7.13, buildr 1.4.19
> >
> > Make sure no multiple versions of Ruby or Jruby are installed on the
> system
> > path.
> >
> > I prefer extracting the archives to a local directory and use full path
> to
> > the executables like this,
> > apps/apache-ode-sources-1.3.5$ ~/apps/jruby-1.7.13/bin/jruby -S buildr
> > clean package test=no
> >
> > regards,
> > sathwik
> >
> > On Fri, Aug 4, 2017 at 7:00 AM, Muhammad Adeel Zahid <
> 16030...@lums.edu.pk
> > >
> > wrote:
> >
> > > Hello,
> > >
> > >
> > > Latest update. I have been able to find repository for the package
> > > xdoclet:xjavadoc-1.1-j5. Now when I execute the command
> > >
> > > buildr package test=no
> > >
> > > I get the following error
> > >
> > > NameError : undefined local variable or method `it' for
> > > #
> > >
> > >
> > > Please note, I am using java 1.6 oracle jdk
> > >
> > >
> > > Regards
> > >
> > > Adeel
> > >
> > > 
> > > From: Muhammad Adeel Zahid <16030...@lums.edu.pk>
> > > Sent: Thursday, August 3, 2017 7:50:52 PM
> > > To: user@ode.apache.org
> > > Subject: Re: Compiling the apache ODE 1.4.5 from the sources
> > >
> > > Ok, some updates.
> > >
> > >
> > > xdoclet:xjavadoc 1.1-j5 was the required package that was not being
> found
> > > in different repositories. I have changed the version of said component
> > to
> > > 1.1 both in RakeFile and pom.xml. Now, all the packages are downloaded
> > > without trouble but I get compilation errors like below
> > >
> > >
> > > initialize: name or service not known
> > > Downloading http://repo1.maven.org/maven2/
> xdoclet/xjavadoc/1.1/xjavadoc-
> > > 1.1.pom
> > > xjavadoc-1.1.pom: 100% 1.9KB/1.9KB Time: 00:00:00
> > > 147 [main] INFO xdoclet.XDocletMain.start - Running 
> > > Error parsing File F:\apache-ode-sources-1.3.5\
> > > bpel-store\src\main\java\org\apache\ode\store\
> ConfStoreConnection.java:
> > Encountered
> > > "<" at line 31, column 15.
> > > Was ex

Re: Compiling the apache ODE 1.4.5 from the sources

2017-08-08 Thread Muhammad Adeel Zahid
I did not try it with java 8 but I did it with 7. The problem I faced was about 
a dependency axis2 war file. The said war file is not available in any 
repositories I searched. So I changed the dependency version from 1.3 to 1.6.2 
and it compiled without problems on java 7.


From: Gangadhar ireddy <gangadhar.ire...@gmail.com>
Sent: Tuesday, August 8, 2017 5:31:05 PM
To: user@ode.apache.org
Subject: Re: Compiling the apache ODE 1.4.5 from the sources

Hi Satwik,

So you mean to say even 1.3.5 is not compatible on java 8?

Regards,
Gangadhar.

On Tue, Aug 8, 2017 at 5:01 PM, Muhammad Adeel Zahid <16030...@lums.edu.pk>
wrote:

> Hi Sathwik,
>
>
> Thanks for your help. Following your instructions, I was able to compile
> ode 1.3.5. The only thing I had to do more was changing axis-2 dependency
> from version 1.3 to 1.6.2. I will copy your response from this thread to
> stack overflow and accept it as answer.
>
>
> Again, thank you very much for your help.
>
>
> Regards
>
> Adeel
>
> 
> From: Sathwik B P <sathwik...@gmail.com>
> Sent: Friday, August 4, 2017 10:14:31 AM
> To: user@ode.apache.org
> Subject: Re: Compiling the apache ODE 1.4.5 from the sources
>
> Hi Adeel,
>
> You are sitting on a 7yrs old release. Why don't you look towards 1.3.7,
> released recently.
>
> Older releases are not compilable on Java 8. Next coming release 1.3.8 will
> be compilable on Java 8.
>
> xdoclet:xjavadoc-1.1-j5 can be found in this repo. Add this line to
> repositories.rb
> repositories.remote << "http://people.apache.org/~vanto/m2/;
>
> The distribution archives will be generated under
> /distro/target/
>
> ode-1.3.5 compiles for me on
> Ubuntu 17.04, java version 1.7.0_80, jruby 1.7.13, buildr 1.4.19
>
> Make sure no multiple versions of Ruby or Jruby are installed on the system
> path.
>
> I prefer extracting the archives to a local directory and use full path to
> the executables like this,
> apps/apache-ode-sources-1.3.5$ ~/apps/jruby-1.7.13/bin/jruby -S buildr
> clean package test=no
>
> regards,
> sathwik
>
> On Fri, Aug 4, 2017 at 7:00 AM, Muhammad Adeel Zahid <16030...@lums.edu.pk
> >
> wrote:
>
> > Hello,
> >
> >
> > Latest update. I have been able to find repository for the package
> > xdoclet:xjavadoc-1.1-j5. Now when I execute the command
> >
> > buildr package test=no
> >
> > I get the following error
> >
> > NameError : undefined local variable or method `it' for
> > #
> >
> >
> > Please note, I am using java 1.6 oracle jdk
> >
> >
> > Regards
> >
> > Adeel
> >
> > 
> > From: Muhammad Adeel Zahid <16030...@lums.edu.pk>
> > Sent: Thursday, August 3, 2017 7:50:52 PM
> > To: user@ode.apache.org
> > Subject: Re: Compiling the apache ODE 1.4.5 from the sources
> >
> > Ok, some updates.
> >
> >
> > xdoclet:xjavadoc 1.1-j5 was the required package that was not being found
> > in different repositories. I have changed the version of said component
> to
> > 1.1 both in RakeFile and pom.xml. Now, all the packages are downloaded
> > without trouble but I get compilation errors like below
> >
> >
> > initialize: name or service not known
> > Downloading http://repo1.maven.org/maven2/xdoclet/xjavadoc/1.1/xjavadoc-
> > 1.1.pom
> > xjavadoc-1.1.pom: 100% 1.9KB/1.9KB Time: 00:00:00
> > 147 [main] INFO xdoclet.XDocletMain.start - Running 
> > Error parsing File F:\apache-ode-sources-1.3.5\
> > bpel-store\src\main\java\org\apache\ode\store\ConfStoreConnection.java:
> Encountered
> > "<" at line 31, column 15.
> > Was expecting one of:
> >  ...
> > "[" ...
> > "." ...
> >
> > Error parsing File F:\apache-ode-sources-1.3.5\
> > bpel-store\src\main\java\org\apache\ode\store\DeploymentUnitDAO.java:
> Encountered
> > "<" at line 53, column 15.
> > Was expecting one of:
> >  ...
> >     "[" ...
> >     "." ...
> >
> > Error parsing File F:\apache-ode-sources-1.3.5\
> > bpel-store\src\main\java\org\apache\ode\store\DeploymentUnitDir.java:
> Encountered
> > "<" at line 78, column 20.
> > Was expecting one of:
> >  ...
> > "[" ...
> > "." ...
> > "(" ...
> >
> >
> > There are much more errors but I have just pasted some of them to show
> the
> > problem.
> 

Re: Compiling the apache ODE 1.4.5 from the sources

2017-08-08 Thread Gangadhar ireddy
Hi Satwik,

So you mean to say even 1.3.5 is not compatible on java 8?

Regards,
Gangadhar.

On Tue, Aug 8, 2017 at 5:01 PM, Muhammad Adeel Zahid <16030...@lums.edu.pk>
wrote:

> Hi Sathwik,
>
>
> Thanks for your help. Following your instructions, I was able to compile
> ode 1.3.5. The only thing I had to do more was changing axis-2 dependency
> from version 1.3 to 1.6.2. I will copy your response from this thread to
> stack overflow and accept it as answer.
>
>
> Again, thank you very much for your help.
>
>
> Regards
>
> Adeel
>
> 
> From: Sathwik B P <sathwik...@gmail.com>
> Sent: Friday, August 4, 2017 10:14:31 AM
> To: user@ode.apache.org
> Subject: Re: Compiling the apache ODE 1.4.5 from the sources
>
> Hi Adeel,
>
> You are sitting on a 7yrs old release. Why don't you look towards 1.3.7,
> released recently.
>
> Older releases are not compilable on Java 8. Next coming release 1.3.8 will
> be compilable on Java 8.
>
> xdoclet:xjavadoc-1.1-j5 can be found in this repo. Add this line to
> repositories.rb
> repositories.remote << "http://people.apache.org/~vanto/m2/;
>
> The distribution archives will be generated under
> /distro/target/
>
> ode-1.3.5 compiles for me on
> Ubuntu 17.04, java version 1.7.0_80, jruby 1.7.13, buildr 1.4.19
>
> Make sure no multiple versions of Ruby or Jruby are installed on the system
> path.
>
> I prefer extracting the archives to a local directory and use full path to
> the executables like this,
> apps/apache-ode-sources-1.3.5$ ~/apps/jruby-1.7.13/bin/jruby -S buildr
> clean package test=no
>
> regards,
> sathwik
>
> On Fri, Aug 4, 2017 at 7:00 AM, Muhammad Adeel Zahid <16030...@lums.edu.pk
> >
> wrote:
>
> > Hello,
> >
> >
> > Latest update. I have been able to find repository for the package
> > xdoclet:xjavadoc-1.1-j5. Now when I execute the command
> >
> > buildr package test=no
> >
> > I get the following error
> >
> > NameError : undefined local variable or method `it' for
> > #
> >
> >
> > Please note, I am using java 1.6 oracle jdk
> >
> >
> > Regards
> >
> > Adeel
> >
> > 
> > From: Muhammad Adeel Zahid <16030...@lums.edu.pk>
> > Sent: Thursday, August 3, 2017 7:50:52 PM
> > To: user@ode.apache.org
> > Subject: Re: Compiling the apache ODE 1.4.5 from the sources
> >
> > Ok, some updates.
> >
> >
> > xdoclet:xjavadoc 1.1-j5 was the required package that was not being found
> > in different repositories. I have changed the version of said component
> to
> > 1.1 both in RakeFile and pom.xml. Now, all the packages are downloaded
> > without trouble but I get compilation errors like below
> >
> >
> > initialize: name or service not known
> > Downloading http://repo1.maven.org/maven2/xdoclet/xjavadoc/1.1/xjavadoc-
> > 1.1.pom
> > xjavadoc-1.1.pom: 100% 1.9KB/1.9KB Time: 00:00:00
> > 147 [main] INFO xdoclet.XDocletMain.start - Running 
> > Error parsing File F:\apache-ode-sources-1.3.5\
> > bpel-store\src\main\java\org\apache\ode\store\ConfStoreConnection.java:
> Encountered
> > "<" at line 31, column 15.
> > Was expecting one of:
> >  ...
> > "[" ...
> > "." ...
> >
> > Error parsing File F:\apache-ode-sources-1.3.5\
> > bpel-store\src\main\java\org\apache\ode\store\DeploymentUnitDAO.java:
> Encountered
> > "<" at line 53, column 15.
> > Was expecting one of:
> >  ...
> > "[" ...
> >     "." ...
> >
> > Error parsing File F:\apache-ode-sources-1.3.5\
> > bpel-store\src\main\java\org\apache\ode\store\DeploymentUnitDir.java:
> Encountered
> > "<" at line 78, column 20.
> > Was expecting one of:
> >  ...
> > "[" ...
> > "." ...
> > "(" ...
> >
> >
> > There are much more errors but I have just pasted some of them to show
> the
> > problem.
> >
> >
> > Regards
> >
> > Adeel
> >
> >
> > 
> > From: Muhammad Adeel Zahid
> > Sent: Thursday, August 3, 2017 6:44:16 PM
> > To: user@ode.apache.org
> > Subject: Re: Compiling the apache ODE 1.4.5 from the sources
> >
> >
> > Hi Sathwik,
> >
> >
> > Thanks for your reply. It was really helpful. I made some progress in
> > compilation process after your help. I ha

Re: Compiling the apache ODE 1.4.5 from the sources

2017-08-08 Thread Muhammad Adeel Zahid
Hi Sathwik,


Thanks for your help. Following your instructions, I was able to compile ode 
1.3.5. The only thing I had to do more was changing axis-2 dependency from 
version 1.3 to 1.6.2. I will copy your response from this thread to stack 
overflow and accept it as answer.


Again, thank you very much for your help.


Regards

Adeel


From: Sathwik B P <sathwik...@gmail.com>
Sent: Friday, August 4, 2017 10:14:31 AM
To: user@ode.apache.org
Subject: Re: Compiling the apache ODE 1.4.5 from the sources

Hi Adeel,

You are sitting on a 7yrs old release. Why don't you look towards 1.3.7,
released recently.

Older releases are not compilable on Java 8. Next coming release 1.3.8 will
be compilable on Java 8.

xdoclet:xjavadoc-1.1-j5 can be found in this repo. Add this line to
repositories.rb
repositories.remote << "http://people.apache.org/~vanto/m2/;

The distribution archives will be generated under
/distro/target/

ode-1.3.5 compiles for me on
Ubuntu 17.04, java version 1.7.0_80, jruby 1.7.13, buildr 1.4.19

Make sure no multiple versions of Ruby or Jruby are installed on the system
path.

I prefer extracting the archives to a local directory and use full path to
the executables like this,
apps/apache-ode-sources-1.3.5$ ~/apps/jruby-1.7.13/bin/jruby -S buildr
clean package test=no

regards,
sathwik

On Fri, Aug 4, 2017 at 7:00 AM, Muhammad Adeel Zahid <16030...@lums.edu.pk>
wrote:

> Hello,
>
>
> Latest update. I have been able to find repository for the package
> xdoclet:xjavadoc-1.1-j5. Now when I execute the command
>
> buildr package test=no
>
> I get the following error
>
> NameError : undefined local variable or method `it' for
> #
>
>
> Please note, I am using java 1.6 oracle jdk
>
>
> Regards
>
> Adeel
>
> 
> From: Muhammad Adeel Zahid <16030...@lums.edu.pk>
> Sent: Thursday, August 3, 2017 7:50:52 PM
> To: user@ode.apache.org
> Subject: Re: Compiling the apache ODE 1.4.5 from the sources
>
> Ok, some updates.
>
>
> xdoclet:xjavadoc 1.1-j5 was the required package that was not being found
> in different repositories. I have changed the version of said component to
> 1.1 both in RakeFile and pom.xml. Now, all the packages are downloaded
> without trouble but I get compilation errors like below
>
>
> initialize: name or service not known
> Downloading http://repo1.maven.org/maven2/xdoclet/xjavadoc/1.1/xjavadoc-
> 1.1.pom
> xjavadoc-1.1.pom: 100% 1.9KB/1.9KB Time: 00:00:00
> 147 [main] INFO xdoclet.XDocletMain.start - Running 
> Error parsing File F:\apache-ode-sources-1.3.5\
> bpel-store\src\main\java\org\apache\ode\store\ConfStoreConnection.java:Encountered
> "<" at line 31, column 15.
> Was expecting one of:
>  ...
> "[" ...
> "." ...
>
> Error parsing File F:\apache-ode-sources-1.3.5\
> bpel-store\src\main\java\org\apache\ode\store\DeploymentUnitDAO.java:Encountered
> "<" at line 53, column 15.
> Was expecting one of:
>  ...
> "[" ...
> "." ...
>
> Error parsing File F:\apache-ode-sources-1.3.5\
> bpel-store\src\main\java\org\apache\ode\store\DeploymentUnitDir.java:Encountered
> "<" at line 78, column 20.
> Was expecting one of:
>  ...
> "[" ...
> "." ...
> "(" ...
>
>
> There are much more errors but I have just pasted some of them to show the
> problem.
>
>
> Regards
>
> Adeel
>
>
> 
> From: Muhammad Adeel Zahid
> Sent: Thursday, August 3, 2017 6:44:16 PM
> To: user@ode.apache.org
> Subject: Re: Compiling the apache ODE 1.4.5 from the sources
>
>
> Hi Sathwik,
>
>
> Thanks for your reply. It was really helpful. I made some progress in
> compilation process after your help. I have some questions.
>
> Where is the war file created that I can deploy into eclipse?
>
> I used java 1.8 for compilation? is that a problem?
>
> I repeatedly see the message "name or service not known". What is this?
>
> I also get a message about buildr aborted because it was unable to
> download some packages. How do I get past this.
>
>
> Below is the complete output of the command "buildr package test=no"
>
>
> (in F:/apache-ode-sources-1.3.5, development)
> Building ode
> Skipping tests for ode:utils
> Skipping tests for ode:bpel-obj
> Skipping tests for ode:bpel-schemas
> Skipping tests for ode:bpel-api
> Skipping tests for ode:bpel-api-jca
> Downloading xalan:xalan:jar:2.7.1
> initialize: name or service not known
> Downloading http://repo1.maven.org/maven2/xalan/xalan/2.7.1/xalan-2.7.1.
> j

Re: Compiling the apache ODE 1.4.5 from the sources

2017-08-03 Thread Sathwik B P
Hi Adeel,

You are sitting on a 7yrs old release. Why don't you look towards 1.3.7,
released recently.

Older releases are not compilable on Java 8. Next coming release 1.3.8 will
be compilable on Java 8.

xdoclet:xjavadoc-1.1-j5 can be found in this repo. Add this line to
repositories.rb
repositories.remote << "http://people.apache.org/~vanto/m2/;

The distribution archives will be generated under
/distro/target/

ode-1.3.5 compiles for me on
Ubuntu 17.04, java version 1.7.0_80, jruby 1.7.13, buildr 1.4.19

Make sure no multiple versions of Ruby or Jruby are installed on the system
path.

I prefer extracting the archives to a local directory and use full path to
the executables like this,
apps/apache-ode-sources-1.3.5$ ~/apps/jruby-1.7.13/bin/jruby -S buildr
clean package test=no

regards,
sathwik

On Fri, Aug 4, 2017 at 7:00 AM, Muhammad Adeel Zahid <16030...@lums.edu.pk>
wrote:

> Hello,
>
>
> Latest update. I have been able to find repository for the package
> xdoclet:xjavadoc-1.1-j5. Now when I execute the command
>
> buildr package test=no
>
> I get the following error
>
> NameError : undefined local variable or method `it' for
> #
>
>
> Please note, I am using java 1.6 oracle jdk
>
>
> Regards
>
> Adeel
>
> 
> From: Muhammad Adeel Zahid <16030...@lums.edu.pk>
> Sent: Thursday, August 3, 2017 7:50:52 PM
> To: user@ode.apache.org
> Subject: Re: Compiling the apache ODE 1.4.5 from the sources
>
> Ok, some updates.
>
>
> xdoclet:xjavadoc 1.1-j5 was the required package that was not being found
> in different repositories. I have changed the version of said component to
> 1.1 both in RakeFile and pom.xml. Now, all the packages are downloaded
> without trouble but I get compilation errors like below
>
>
> initialize: name or service not known
> Downloading http://repo1.maven.org/maven2/xdoclet/xjavadoc/1.1/xjavadoc-
> 1.1.pom
> xjavadoc-1.1.pom: 100% 1.9KB/1.9KB Time: 00:00:00
> 147 [main] INFO xdoclet.XDocletMain.start - Running 
> Error parsing File F:\apache-ode-sources-1.3.5\
> bpel-store\src\main\java\org\apache\ode\store\ConfStoreConnection.java:Encountered
> "<" at line 31, column 15.
> Was expecting one of:
>  ...
> "[" ...
> "." ...
>
> Error parsing File F:\apache-ode-sources-1.3.5\
> bpel-store\src\main\java\org\apache\ode\store\DeploymentUnitDAO.java:Encountered
> "<" at line 53, column 15.
> Was expecting one of:
>  ...
> "[" ...
> "." ...
>
> Error parsing File F:\apache-ode-sources-1.3.5\
> bpel-store\src\main\java\org\apache\ode\store\DeploymentUnitDir.java:Encountered
> "<" at line 78, column 20.
> Was expecting one of:
>  ...
> "[" ...
> "." ...
> "(" ...
>
>
> There are much more errors but I have just pasted some of them to show the
> problem.
>
>
> Regards
>
> Adeel
>
>
> 
> From: Muhammad Adeel Zahid
> Sent: Thursday, August 3, 2017 6:44:16 PM
> To: user@ode.apache.org
> Subject: Re: Compiling the apache ODE 1.4.5 from the sources
>
>
> Hi Sathwik,
>
>
> Thanks for your reply. It was really helpful. I made some progress in
> compilation process after your help. I have some questions.
>
> Where is the war file created that I can deploy into eclipse?
>
> I used java 1.8 for compilation? is that a problem?
>
> I repeatedly see the message "name or service not known". What is this?
>
> I also get a message about buildr aborted because it was unable to
> download some packages. How do I get past this.
>
>
> Below is the complete output of the command "buildr package test=no"
>
>
> (in F:/apache-ode-sources-1.3.5, development)
> Building ode
> Skipping tests for ode:utils
> Skipping tests for ode:bpel-obj
> Skipping tests for ode:bpel-schemas
> Skipping tests for ode:bpel-api
> Skipping tests for ode:bpel-api-jca
> Downloading xalan:xalan:jar:2.7.1
> initialize: name or service not known
> Downloading http://repo1.maven.org/maven2/xalan/xalan/2.7.1/xalan-2.7.1.
> jar
> xalan-2.7.1.jar: 100% 3.0MB/3.0MB Time: 00:00:04
> Downloading xalan:xalan:pom:2.7.1
> initialize: name or service not known
> Downloading http://repo1.maven.org/maven2/xalan/xalan/2.7.1/xalan-2.7.1.
> pom
> xalan-2.7.1.pom: 100% 1.2KB/1.2KB Time: 00:00:00
> Compiling ode:bpel-compiler into F:/apache-ode-sources-1.3.5/
> bpel-compiler/target/classes
> Note: Some input files use or override a deprecated API.
> Note: Recompile with -Xlint:deprecation for details.
> Note: Some input files use u

Re: Compiling the apache ODE 1.4.5 from the sources

2017-08-03 Thread Muhammad Adeel Zahid
Hello,


Latest update. I have been able to find repository for the package 
xdoclet:xjavadoc-1.1-j5. Now when I execute the command

buildr package test=no

I get the following error

NameError : undefined local variable or method `it' for #


Please note, I am using java 1.6 oracle jdk


Regards

Adeel


From: Muhammad Adeel Zahid <16030...@lums.edu.pk>
Sent: Thursday, August 3, 2017 7:50:52 PM
To: user@ode.apache.org
Subject: Re: Compiling the apache ODE 1.4.5 from the sources

Ok, some updates.


xdoclet:xjavadoc 1.1-j5 was the required package that was not being found in 
different repositories. I have changed the version of said component to 1.1 
both in RakeFile and pom.xml. Now, all the packages are downloaded without 
trouble but I get compilation errors like below


initialize: name or service not known
Downloading http://repo1.maven.org/maven2/xdoclet/xjavadoc/1.1/xjavadoc-1.1.pom
xjavadoc-1.1.pom: 100% 1.9KB/1.9KB Time: 00:00:00
147 [main] INFO xdoclet.XDocletMain.start - Running 
Error parsing File 
F:\apache-ode-sources-1.3.5\bpel-store\src\main\java\org\apache\ode\store\ConfStoreConnection.java:Encountered
 "<" at line 31, column 15.
Was expecting one of:
 ...
"[" ...
"." ...

Error parsing File 
F:\apache-ode-sources-1.3.5\bpel-store\src\main\java\org\apache\ode\store\DeploymentUnitDAO.java:Encountered
 "<" at line 53, column 15.
Was expecting one of:
 ...
"[" ...
"." ...

Error parsing File 
F:\apache-ode-sources-1.3.5\bpel-store\src\main\java\org\apache\ode\store\DeploymentUnitDir.java:Encountered
 "<" at line 78, column 20.
Was expecting one of:
 ...
"[" ...
"." ...
"(" ...


There are much more errors but I have just pasted some of them to show the 
problem.


Regards

Adeel


____
From: Muhammad Adeel Zahid
Sent: Thursday, August 3, 2017 6:44:16 PM
To: user@ode.apache.org
Subject: Re: Compiling the apache ODE 1.4.5 from the sources


Hi Sathwik,


Thanks for your reply. It was really helpful. I made some progress in 
compilation process after your help. I have some questions.

Where is the war file created that I can deploy into eclipse?

I used java 1.8 for compilation? is that a problem?

I repeatedly see the message "name or service not known". What is this?

I also get a message about buildr aborted because it was unable to download 
some packages. How do I get past this.


Below is the complete output of the command "buildr package test=no"


(in F:/apache-ode-sources-1.3.5, development)
Building ode
Skipping tests for ode:utils
Skipping tests for ode:bpel-obj
Skipping tests for ode:bpel-schemas
Skipping tests for ode:bpel-api
Skipping tests for ode:bpel-api-jca
Downloading xalan:xalan:jar:2.7.1
initialize: name or service not known
Downloading http://repo1.maven.org/maven2/xalan/xalan/2.7.1/xalan-2.7.1.jar
xalan-2.7.1.jar: 100% 3.0MB/3.0MB Time: 00:00:04
Downloading xalan:xalan:pom:2.7.1
initialize: name or service not known
Downloading http://repo1.maven.org/maven2/xalan/xalan/2.7.1/xalan-2.7.1.pom
xalan-2.7.1.pom: 100% 1.2KB/1.2KB Time: 00:00:00
Compiling ode:bpel-compiler into 
F:/apache-ode-sources-1.3.5/bpel-compiler/target/classes
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Downloading org.slf4j:slf4j-log4j12:jar:1.4.3
initialize: name or service not known
Downloading 
http://repo1.maven.org/maven2/org/slf4j/slf4j-log4j12/1.4.3/slf4j-log4j12-1.4.3.jar
slf4j-log4j12-1.4.3.jar: 100% 8.4KB/8.4KB Time: 00:00:00
Downloading org.slf4j:slf4j-log4j12:pom:1.4.3
initialize: name or service not known
Downloading 
http://repo1.maven.org/maven2/org/slf4j/slf4j-log4j12/1.4.3/slf4j-log4j12-1.4.3.pom
slf4j-log4j12-1.4.3.pom: 100% 1.6KB/1.6KB Time: 00:00:00
Skipping tests for ode:bpel-compiler
Packaging ode-bpel-compiler-1.3.5-SNAPSHOT.jar
Compiling ode:bpel-dao into F:/apache-ode-sources-1.3.5/bpel-dao/target/classes
Skipping tests for ode:bpel-dao
Packaging ode-bpel-dao-1.3.5-SNAPSHOT.jar
Downloading commons-beanutils:commons-beanutils:jar:1.8.2
initialize: name or service not known
Downloading 
http://repo1.maven.org/maven2/commons-beanutils/commons-beanutils/1.8.2/commons-beanutils-1.8.2.jar
commons-beanutils-1.8.2.jar: 100%   226.5KB/226.5KB Time: 00:00:00
Downloading commons-beanutils:commons-beanutils:pom:1.8.2
initialize: name or service not known
Downloading 
http://repo1.maven.org/maven2/commons-beanutils/commons-beanutils/1.8.2/commons-beanutils-1.8.2.pom
commons-beanutils-1.8.2.pom: 100%11.3KB/11.3KB Time: 00:00:00
Downloading org.apache.derby:derby:jar:10.5.3.0_1
initialize: name or service not known
Downloading 
http://repo1.maven.

Re: Compiling the apache ODE 1.4.5 from the sources

2017-08-03 Thread Muhammad Adeel Zahid
Ok, some updates.


xdoclet:xjavadoc 1.1-j5 was the required package that was not being found in 
different repositories. I have changed the version of said component to 1.1 
both in RakeFile and pom.xml. Now, all the packages are downloaded without 
trouble but I get compilation errors like below


initialize: name or service not known
Downloading http://repo1.maven.org/maven2/xdoclet/xjavadoc/1.1/xjavadoc-1.1.pom
xjavadoc-1.1.pom: 100% 1.9KB/1.9KB Time: 00:00:00
147 [main] INFO xdoclet.XDocletMain.start - Running 
Error parsing File 
F:\apache-ode-sources-1.3.5\bpel-store\src\main\java\org\apache\ode\store\ConfStoreConnection.java:Encountered
 "<" at line 31, column 15.
Was expecting one of:
 ...
"[" ...
"." ...

Error parsing File 
F:\apache-ode-sources-1.3.5\bpel-store\src\main\java\org\apache\ode\store\DeploymentUnitDAO.java:Encountered
 "<" at line 53, column 15.
Was expecting one of:
 ...
"[" ...
"." ...

Error parsing File 
F:\apache-ode-sources-1.3.5\bpel-store\src\main\java\org\apache\ode\store\DeploymentUnitDir.java:Encountered
 "<" at line 78, column 20.
Was expecting one of:
 ...
"[" ...
"." ...
"(" ...


There are much more errors but I have just pasted some of them to show the 
problem.


Regards

Adeel


________
From: Muhammad Adeel Zahid
Sent: Thursday, August 3, 2017 6:44:16 PM
To: user@ode.apache.org
Subject: Re: Compiling the apache ODE 1.4.5 from the sources


Hi Sathwik,


Thanks for your reply. It was really helpful. I made some progress in 
compilation process after your help. I have some questions.

Where is the war file created that I can deploy into eclipse?

I used java 1.8 for compilation? is that a problem?

I repeatedly see the message "name or service not known". What is this?

I also get a message about buildr aborted because it was unable to download 
some packages. How do I get past this.


Below is the complete output of the command "buildr package test=no"


(in F:/apache-ode-sources-1.3.5, development)
Building ode
Skipping tests for ode:utils
Skipping tests for ode:bpel-obj
Skipping tests for ode:bpel-schemas
Skipping tests for ode:bpel-api
Skipping tests for ode:bpel-api-jca
Downloading xalan:xalan:jar:2.7.1
initialize: name or service not known
Downloading http://repo1.maven.org/maven2/xalan/xalan/2.7.1/xalan-2.7.1.jar
xalan-2.7.1.jar: 100% 3.0MB/3.0MB Time: 00:00:04
Downloading xalan:xalan:pom:2.7.1
initialize: name or service not known
Downloading http://repo1.maven.org/maven2/xalan/xalan/2.7.1/xalan-2.7.1.pom
xalan-2.7.1.pom: 100% 1.2KB/1.2KB Time: 00:00:00
Compiling ode:bpel-compiler into 
F:/apache-ode-sources-1.3.5/bpel-compiler/target/classes
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Downloading org.slf4j:slf4j-log4j12:jar:1.4.3
initialize: name or service not known
Downloading 
http://repo1.maven.org/maven2/org/slf4j/slf4j-log4j12/1.4.3/slf4j-log4j12-1.4.3.jar
slf4j-log4j12-1.4.3.jar: 100% 8.4KB/8.4KB Time: 00:00:00
Downloading org.slf4j:slf4j-log4j12:pom:1.4.3
initialize: name or service not known
Downloading 
http://repo1.maven.org/maven2/org/slf4j/slf4j-log4j12/1.4.3/slf4j-log4j12-1.4.3.pom
slf4j-log4j12-1.4.3.pom: 100% 1.6KB/1.6KB Time: 00:00:00
Skipping tests for ode:bpel-compiler
Packaging ode-bpel-compiler-1.3.5-SNAPSHOT.jar
Compiling ode:bpel-dao into F:/apache-ode-sources-1.3.5/bpel-dao/target/classes
Skipping tests for ode:bpel-dao
Packaging ode-bpel-dao-1.3.5-SNAPSHOT.jar
Downloading commons-beanutils:commons-beanutils:jar:1.8.2
initialize: name or service not known
Downloading 
http://repo1.maven.org/maven2/commons-beanutils/commons-beanutils/1.8.2/commons-beanutils-1.8.2.jar
commons-beanutils-1.8.2.jar: 100%   226.5KB/226.5KB Time: 00:00:00
Downloading commons-beanutils:commons-beanutils:pom:1.8.2
initialize: name or service not known
Downloading 
http://repo1.maven.org/maven2/commons-beanutils/commons-beanutils/1.8.2/commons-beanutils-1.8.2.pom
commons-beanutils-1.8.2.pom: 100%11.3KB/11.3KB Time: 00:00:00
Downloading org.apache.derby:derby:jar:10.5.3.0_1
initialize: name or service not known
Downloading 
http://repo1.maven.org/maven2/org/apache/derby/derby/10.5.3.0_1/derby-10.5.3.0_1.jar
derby-10.5.3.0_1.jar: 100% 2.4MB/2.4MB Time: 00:00:05
Downloading org.apache.derby:derby:pom:10.5.3.0_1
initialize: name or service not known
Downloading 
http://repo1.maven.org/maven2/org/apache/derby/derby/10.5.3.0_1/derby-10.5.3.0_1.pom
derby-10.5.3.0_1.pom: 100% 2.6KB/2.6KB Time: 00:00:00
Downloading org.apache.geronimo.specs:geronimo-jta_1.1_spec:jar:1.1
initialize: name or service not known
Downloading 
http://repo1.maven.org/maven2/org/apache/geronimo/

Re: Compiling the apache ODE 1.4.5 from the sources

2017-08-03 Thread Muhammad Adeel Zahid
 3, 2017 10:40:49 AM
To: user@ode.apache.org
Subject: Re: Compiling the apache ODE 1.4.5 from the sources

Hi Muhammad,

Use jruby 1.7.13 and buildr 1.4.19

Edit file /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 <16030...@lums.edu.pk>
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
>
>
>