Re: JADE (NetBeans IDE 6.8) and Rev Studio 4.0

2010-03-19 Thread Mark Wieder
zeeshan-

Friday, March 19, 2010, 3:01:26 PM, you wrote:

>put shell("Server 6800") into tResult

Unless you've somehow compiled "Server" as an executable binary file,
you'll need to launch it as

put shell("java Server") into tResult

otherwise you'll end up with something in tResult like "'Server' is
not recognized as an internal or external command, operable program or
batch file."

-- 
-Mark Wieder
 mwie...@ahsoftware.net

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: JADE (NetBeans IDE 6.8) and Rev Studio 4.0

2010-03-19 Thread Mark Schonewille

Mark,

It is not even clear to me whether this thing should even run on the  
same computer as the RunRev-based "client". I have been having some e- 
mail chitchat with Zeeshan, but a lot of info is still missing. The  
shell function might not work. If it did work, I'd think that the  
project doesn't need Java and could be done entirely in Rev.


--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer

Economy-x-Talk is always looking for new software development  
projects. Feel free to contact me for a quote.


Op 19 mrt 2010, om 23:37 heeft Mark Wieder het volgende geschreven:


zeeshan-

Friday, March 19, 2010, 3:01:26 PM, you wrote:


  put shell("Server 6800") into tResult


Unless you've somehow compiled "Server" as an executable binary file,
you'll need to launch it as

put shell("java Server") into tResult

otherwise you'll end up with something in tResult like "'Server' is
not recognized as an internal or external command, operable program or
batch file."

--
-Mark Wieder
mwie...@ahsoftware.net


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: JADE (NetBeans IDE 6.8) and Rev Studio 4.0

2010-03-19 Thread zeeshan aamir
Hi Mark,
Thanks,

I test with this changes in command ( put shell("Server 6800") into tResult)

 this command will work but it gives this error.

java.lang.NoClassDefFoundError: Server (wrong name: Server/Server)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(Unknown Source)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$000(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: Server.  Program will exit.Exception in
thread "main"



Is it problem that this code is in JADE(Netbeans) and not work in simple
Java.
//Code for Server.java  (JADE)
package Server;

import java.io.DataInputStream;
import java.io.IOException;
import java.net.ServerSocket;
import java.net.Socket;

public class Server {
public static void main (String[] args) throws IOException{
ServerSocket server=new ServerSocket(6800);
System.out.println("Server Started");
Socket client= server.accept();
DataInputStream in= new DataInputStream(client.getInputStream());

System.out.println("Client Syas: " + in.readUTF());
}
}

.
/7code for client Socket. (JADE)


package Cleint;

import java.io.DataOutputStream;
import java.io.IOException;
import java.net.Socket;

public class Cleint {
public static void main (String[] args) throws IOException {
Socket client= new Socket("localhost",6800);
System.out.println("Connected to server");
DataOutputStream out = new DataOutputStream(client.getOutputStream());
out.writeUTF ("AllowServer");


}

}
.


Regards,
Shani


On Fri, Mar 19, 2010 at 11:37 PM, Mark Wieder wrote:

> zeeshan-
>
> Friday, March 19, 2010, 3:01:26 PM, you wrote:
>
> >put shell("Server 6800") into tResult
>
> Unless you've somehow compiled "Server" as an executable binary file,
> you'll need to launch it as
>
> put shell("java Server") into tResult
>
> otherwise you'll end up with something in tResult like "'Server' is
> not recognized as an internal or external command, operable program or
> batch file."
>
> --
> -Mark Wieder
>  mwie...@ahsoftware.net
>
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: JADE (NetBeans IDE 6.8) and Rev Studio 4.0

2010-03-19 Thread Mark Wieder
Mark-

Friday, March 19, 2010, 3:42:47 PM, you wrote:

> project doesn't need Java and could be done entirely in Rev.

 That's certainly true, but I thought the idea was a proof of
concept thing for runrev <-> java communications.

-- 
-Mark Wieder
 mwie...@ahsoftware.net

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: JADE (NetBeans IDE 6.8) and Rev Studio 4.0

2010-03-19 Thread Mark Wieder
zeeshan-

Friday, March 19, 2010, 3:54:59 PM, you wrote:

Why are you trying to launch the server app from runrev? Why not just
use JADE to launch the server, then have the rev app communicate with
it?

-- 
-Mark Wieder
 mwie...@ahsoftware.net

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: JADE (NetBeans IDE 6.8) and Rev Studio 4.0

2010-03-19 Thread zeeshan aamir
how?

can you guide me in brief, please.

Regards,
shani


On Sat, Mar 20, 2010 at 12:08 AM, Mark Wieder wrote:

> zeeshan-
>
> Friday, March 19, 2010, 3:54:59 PM, you wrote:
>
> Why are you trying to launch the server app from runrev? Why not just
> use JADE to launch the server, then have the rev app communicate with
> it?
>
> --
> -Mark Wieder
>  mwie...@ahsoftware.net
>
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: JADE (NetBeans IDE 6.8) and Rev Studio 4.0

2010-03-19 Thread Mark Wieder
zeeshan-

Friday, March 19, 2010, 4:32:31 PM, you wrote:

> how?

You've already got the server code in JADE...

assuming both are on the same computer and you're still using port
6800 on the server, in a runrev button put the script:

on mouseUp
open socket "localhost:6800" with message "socketConnected"
write "hello, server" & cr to socket "localhost:6800"
end mouseUp

on socketConnected
  put "connected to server!"
end socketConnected

If they're on different machines then change "localhost" to
"192.168.0.101" or whatever the ip address of the server is.

-- 
-Mark Wieder
 mwie...@ahsoftware.net

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: JADE (NetBeans IDE 6.8) and Rev Studio 4.0

2010-03-19 Thread Mark Schonewille

Hi,

I already told him exactly the same off-list, because he asked me  
about it directly. Zeeshan, please reply my e-mail.


--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer

Economy-x-Talk is always looking for new software development  
projects. Feel free to contact me for a quote.


Op 20 mrt 2010, om 01:05 heeft Mark Wieder het volgende geschreven:


zeeshan-

Friday, March 19, 2010, 4:32:31 PM, you wrote:


how?


You've already got the server code in JADE...

assuming both are on the same computer and you're still using port
6800 on the server, in a runrev button put the script:

on mouseUp
   open socket "localhost:6800" with message "socketConnected"
   write "hello, server" & cr to socket "localhost:6800"
end mouseUp

on socketConnected
 put "connected to server!"
end socketConnected

If they're on different machines then change "localhost" to
"192.168.0.101" or whatever the ip address of the server is.

--
-Mark Wieder
mwie...@ahsoftware.net



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: JADE (NetBeans IDE 6.8) and Rev Studio 4.0

2010-03-19 Thread zeeshan aamir
Thanks Mark Schonewille and Mark Wieder,

I try Mark Wieder code in Server button code but its not work.

on mouseUp
   open socket "localhost:6800" with message "socketConnected"
   write "hello, server" & cr to socket "localhost:6800"
end mouseUp

on socketConnected
 put "connected to server!"
end socketConnected

Regards,
ZEESHAN

On Sat, Mar 20, 2010 at 1:10 AM, Mark Schonewille <
m.schonewi...@economy-x-talk.com> wrote:

> Hi,
>
> I already told him exactly the same off-list, because he asked me about it
> directly. Zeeshan, please reply my e-mail.
>
>
> --
> Best regards,
>
> Mark Schonewille
>
> Economy-x-Talk Consulting and Software Engineering
> Homepage: http://economy-x-talk.com
> Twitter: http://twitter.com/xtalkprogrammer
>
> Economy-x-Talk is always looking for new software development projects.
> Feel free to contact me for a quote.
>
> Op 20 mrt 2010, om 01:05 heeft Mark Wieder het volgende geschreven:
>
>
>  zeeshan-
>>
>> Friday, March 19, 2010, 4:32:31 PM, you wrote:
>>
>>  how?
>>>
>>
>> You've already got the server code in JADE...
>>
>> assuming both are on the same computer and you're still using port
>> 6800 on the server, in a runrev button put the script:
>>
>> on mouseUp
>>   open socket "localhost:6800" with message "socketConnected"
>>   write "hello, server" & cr to socket "localhost:6800"
>> end mouseUp
>>
>> on socketConnected
>>  put "connected to server!"
>> end socketConnected
>>
>> If they're on different machines then change "localhost" to
>> "192.168.0.101" or whatever the ip address of the server is.
>>
>> --
>> -Mark Wieder
>> mwie...@ahsoftware.net
>>
>
>
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: JADE (NetBeans IDE 6.8) and Rev Studio 4.0

2010-03-19 Thread Mark Wieder
Mark-

Friday, March 19, 2010, 5:10:47 PM, you wrote:

> I already told him exactly the same off-list, because he asked me
> about it directly. Zeeshan, please reply my e-mail.

OK - I'm done here.

-- 
-Mark Wieder
 mwie...@ahsoftware.net

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: JADE (NetBeans IDE 6.8) and Rev Studio 4.0

2010-03-19 Thread Mark Schonewille

Zeeshan,

Can you provide more info? For example, are you succesfully running  
the server? Can you connect to it with the original Jade client? What  
exactly happens when you try running Mark Wieder's code?


--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer

Economy-x-Talk is always looking for new software development  
projects. Feel free to contact me for a quote.


Op 20 mrt 2010, om 01:32 heeft zeeshan aamir het volgende geschreven:


Thanks Mark Schonewille and Mark Wieder,

I try Mark Wieder code in Server button code but its not work.

on mouseUp
  open socket "localhost:6800" with message "socketConnected"
  write "hello, server" & cr to socket "localhost:6800"
end mouseUp

on socketConnected
put "connected to server!"
end socketConnected

Regards,
ZEESHAN


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: JADE (NetBeans IDE 6.8) and Rev Studio 4.0

2010-03-19 Thread zeeshan aamir
Hay,
Mark Schonewille, Mark Wieder and all,

Is there is any way that i use JADE (NetBeans) Directly which places in any
other folder and call from their.
or i must use in same folder. how to with JADE not JAVA.

is their is any refernce example places on any source.

(JADE communication with Rev Studio )

regards,
zeeshan

On Sat, Mar 20, 2010 at 1:33 AM, Mark Wieder  wrote:

> Mark-
>
> Friday, March 19, 2010, 5:10:47 PM, you wrote:
>
> > I already told him exactly the same off-list, because he asked me
> > about it directly. Zeeshan, please reply my e-mail.
>
> OK - I'm done here.
>
> --
> -Mark Wieder
>  mwie...@ahsoftware.net
>
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: JADE (NetBeans IDE 6.8) and Rev Studio 4.0

2010-03-19 Thread zeeshan aamir
Hay Mark Schonewille,

i tested with the changes in command emailed by Mark Wieder  ( put
shell("Server 6800") into tResult)

in server button in Rev like this
*For Server  Communication Button in Rev*


on mouseUp
   local tDefaultFolder, tResult
   --
   put the defaultFolder into tDefaultFolder
   set the defaultFolder to StackPath()
   --
   put shell("java Server") into tResult
   --
   set the defaultFolder to tDefaultFolder
   answer tResult
end mouseUp

*
*


 this command will work but it gives this error.

java.lang.
NoClassDefFoundError: Server (wrong name: Server/Server)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(Unknown Source)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$000(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: Server.  Program will exit.Exception in
thread "main"

but i try it on same as in same folder where .Java and .Class file placed.

Regards,
ZEESHAN

On Sat, Mar 20, 2010 at 1:45 AM, Mark Schonewille <
m.schonewi...@economy-x-talk.com> wrote:

> Zeeshan,
>
> Can you provide more info? For example, are you succesfully running the
> server? Can you connect to it with the original Jade client? What exactly
> happens when you try running Mark Wieder's code?
>
>
> --
> Best regards,
>
> Mark Schonewille
>
> Economy-x-Talk Consulting and Software Engineering
> Homepage: http://economy-x-talk.com
> Twitter: http://twitter.com/xtalkprogrammer
>
> Economy-x-Talk is always looking for new software development projects.
> Feel free to contact me for a quote.
>
> Op 20 mrt 2010, om 01:32 heeft zeeshan aamir het volgende geschreven:
>
>
>  Thanks Mark Schonewille and Mark Wieder,
>>
>> I try Mark Wieder code in Server button code but its not work.
>>
>> on mouseUp
>>  open socket "localhost:6800" with message "socketConnected"
>>  write "hello, server" & cr to socket "localhost:6800"
>> end mouseUp
>>
>> on socketConnected
>> put "connected to server!"
>> end socketConnected
>>
>> Regards,
>> ZEESHAN
>>
>
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: JADE (NetBeans IDE 6.8) and Rev Studio 4.0

2010-03-20 Thread Jan Schenkel
Hi Zeeshan,

My apologies if this sounds a bit blunt, but from the exchanges it seems to me 
that you are not only a beginner in revTalk, but not very experienced with Java 
either when it comes to socket programming and starting daemon processes and 
its classpath challenges.

At RunRevLive'09 I gave a presentation on how revTalk and Java can interact in 
various ways. You can download the slides and example code from the downloads 
section of my website:


Come to think of it, that's probably how you assembled those first bits of 
code: setting the defaultFolder to the path of the stack is a trick I used 
there to keep everything together in a single folder and reduce scripting 
complexity. Not something a newbie will find on day one ;-)

For this to work, the compiled Server.class file must be in the same directory 
as the rev stack; if it's sitting somewhere in your NetBeans project directory, 
it is not going to find it.

Merely repeating that something doesn't work, is not going to resolve your 
situation: take a step back, think through the different concepts and learn 
more about processes and socket programming.

Jan Schenkel
=
Quartam Reports & PDF Library for Revolution


=
"As we grow older, we grow both wiser and more foolish at the same time."  (La 
Rochefoucauld)


--- On Fri, 3/19/10, zeeshan aamir  wrote:
> Hay Mark Schonewille,
> 
> i tested with the changes in command emailed by Mark
> Wieder  ( put
> shell("Server 6800") into tResult)
> 
> in server button in Rev like this
> *For Server  Communication Button in Rev*
> 
> 
> on mouseUp
>    local tDefaultFolder, tResult
>    --
>    put the defaultFolder into
> tDefaultFolder
>    set the defaultFolder to StackPath()
>    --
>    put shell("java Server") into tResult
>    --
>    set the defaultFolder to tDefaultFolder
>    answer tResult
> end mouseUp
> 
> *
> *
> 
> 
>  this command will work but it gives this error.
> 
>         java.lang.
> NoClassDefFoundError: Server (wrong name: Server/Server)
>         at
> java.lang.ClassLoader.defineClass1(Native Method)
>         at
> java.lang.ClassLoader.defineClassCond(Unknown Source)
>         at
> java.lang.ClassLoader.defineClass(Unknown Source)
>         at
> java.security.SecureClassLoader.defineClass(Unknown Source)
>         at
> java.net.URLClassLoader.defineClass(Unknown Source)
>         at
> java.net.URLClassLoader.access$000(Unknown Source)
>         at
> java.net.URLClassLoader$1.run(Unknown Source)
>         at
> java.security.AccessController.doPrivileged(Native Method)
>         at
> java.net.URLClassLoader.findClass(Unknown Source)
>         at
> java.lang.ClassLoader.loadClass(Unknown Source)
>         at
> sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
>         at
> java.lang.ClassLoader.loadClass(Unknown Source)
> Could not find the main class: Server.  Program will
> exit.Exception in
> thread "main"
> 
> but i try it on same as in same folder where .Java and
> .Class file placed.
> 
> Regards,
> ZEESHAN
> 




___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: JADE (NetBeans IDE 6.8) and Rev Studio 4.0

2010-03-20 Thread Mark Schonewille

Hi Zeeshan,

You wrote the same earlier already. Please answer my questions, on- 
list or off-list.


--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer

Economy-x-Talk is always looking for new software development  
projects. Feel free to contact me for a quote.


Op 20 mrt 2010, om 01:54 heeft zeeshan aamir het volgende geschreven:


Hay Mark Schonewille,

i tested with the changes in command emailed by Mark Wieder  ( put
shell("Server 6800") into tResult)

in server button in Rev like this
*For Server  Communication Button in Rev*


on mouseUp
  local tDefaultFolder, tResult
  --
  put the defaultFolder into tDefaultFolder
  set the defaultFolder to StackPath()
  --
  put shell("java Server") into tResult
  --
  set the defaultFolder to tDefaultFolder
  answer tResult
end mouseUp

*
*



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: JADE (NetBeans IDE 6.8) and Rev Studio 4.0

2010-03-20 Thread Mark Schonewille

Sorry, I didn't mean to scare you off, Mark ;-)

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer

Economy-x-Talk is always looking for new software development  
projects. Feel free to contact me for a quote.


Op 20 mrt 2010, om 01:33 heeft Mark Wieder het volgende geschreven:


Mark-

OK - I'm done here.

--
-Mark Wieder
mwie...@ahsoftware.net



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: JADE (NetBeans IDE 6.8) and Rev Studio 4.0

2010-03-20 Thread Jan Schenkel
Looking back, I was perhaps being a bit harsh. The thing is: most developer 
communities do not react well to a vague description of something that "doesn't 
work as expected" without background information. We always tell kids to do 
their own homework, not write it for them ;-)

What exactly are you trying to accomplish? What is JADE, and how does your Java 
code interact with it? I have quite a bit of experience getting revTalk to 
exchange information with Java processes - bit it all stands or falls with the 
intended architecture.

If your Java code is a simple command-line tool for one-off jobs, you can use 
the 'shell' function to call it with parameters and retrieve the output. If 
your interaction needs to be more elaborate, topology comes into play.

Assuming that the Java program runs on the same machine, you can opt for 
inter-process communication via standard input/output (your Java code uses the 
System.in object to read the data from and the System.out object to write the 
data back to the rev-based application that uses 'open process', 'read from 
process', 'write to process' and 'close process' commands to send data to your 
Java program and retrieve results.

If the Java program runs on a different machine, your best bet is socket 
communication. For the Java side, I recommend you pick up the book 'TCP/IP 
Sockets in Java' (ISBN: 978-0-12-374255-1). On the revTalk end, you'll want to 
look at the 'open socket', 'read from socket', 'write to socket' and 'close 
socket' commands to exchange the data over the socket.

What it all boils down to, is picking a method of communication, and a protocol 
that describes the interaction: which side takes the initiative and in what 
format do you send the request and receive the reply. You can dream up your own 
protocol, copy the HTTP client-server model, exchange the data as plain text or 
structured in XML.

Speaking of XML, why not rely on SOAP? Your Java code could be housed in a 
Glassfish application server, and rely on Web Services technology to 'post' 
data from rev to the app server - where your POJO classes transparently offer 
services to any SOAP-capable client.

First determine your goal, and then we can help you figure out the best way to 
achieve that goal. There is more than one way to skin a cat, as the saying 
goes...

Jan Schenkel
=
Quartam Reports & PDF Library for Revolution


=
"As we grow older, we grow both wiser and more foolish at the same time."  (La 
Rochefoucauld)


--- On Sat, 3/20/10, Jan Schenkel  wrote:
> Hi Zeeshan,
> 
> My apologies if this sounds a bit blunt, but from the
> exchanges it seems to me that you are not only a beginner in
> revTalk, but not very experienced with Java either when it
> comes to socket programming and starting daemon processes
> and its classpath challenges.
> 
> At RunRevLive'09 I gave a presentation on how revTalk and
> Java can interact in various ways. You can download the
> slides and example code from the downloads section of my
> website:
> 
> 
> Come to think of it, that's probably how you assembled
> those first bits of code: setting the defaultFolder to the
> path of the stack is a trick I used there to keep everything
> together in a single folder and reduce scripting complexity.
> Not something a newbie will find on day one ;-)
> 
> For this to work, the compiled Server.class file must be in
> the same directory as the rev stack; if it's sitting
> somewhere in your NetBeans project directory, it is not
> going to find it.
> 
> Merely repeating that something doesn't work, is not going
> to resolve your situation: take a step back, think through
> the different concepts and learn more about processes and
> socket programming.
> 
> Jan Schenkel
> 


  

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: JADE (NetBeans IDE 6.8) and Rev Studio 4.0

2010-03-20 Thread zryip theSlug
2010/3/19 zeeshan aamir :
 ……
>
>
>
> //Code for Server.java  (JADE)
> package Server;
>
> import java.io.DataInputStream;
> import java.io.IOException;
> import java.net.ServerSocket;
> import java.net.Socket;
>
> public class Server {
> public static void main (String[] args) throws IOException{
> ServerSocket server=new ServerSocket(6800);
> System.out.println("Server Started");
> Socket client= server.accept();
> DataInputStream in= new DataInputStream(client.getInputStream());
>
> System.out.println("Client Syas: " + in.readUTF());
> }
> }
>
> .
> /7code for client Socket. (JADE)
>
>
> package Cleint;
>
> import java.io.DataOutputStream;
> import java.io.IOException;
> import java.net.Socket;
>
> public class Cleint {
> public static void main (String[] args) throws IOException {
> Socket client= new Socket("localhost",6800);
> System.out.println("Connected to server");
> DataOutputStream out = new DataOutputStream(client.getOutputStream());
> out.writeUTF ("AllowServer");
>
>
> }
>
> }
> .
>
> *RunRev* Main
>
> function StackPath
>   local tPath
>   --
>   put the effective filename of this stack into tPath
>   set the itemDelimiter to slash
>   delete item -1 of tPath
>   --
>   return tPath
> end StackPath
> 
> *For Server  Communication Button in Rev*
>
>
> on mouseUp
>   local tDefaultFolder, tResult
>   --
>   put the defaultFolder into tDefaultFolder
>   set the defaultFolder to StackPath()
>   --
>   put shell("Server 6800") into tResult
>   --
>   set the defaultFolder to tDefaultFolder
>   answer tResult
> end mouseUp
>
> *
> Clinet button coading in Rev
> *
>
>
>
> on mouseUp
>    local tDefaultFolder, tProcess
>   --
>   put the defaultFolder into tDefaultFolder
>   set the defaultFolder to StackPath()
>   --
>   put "Client" into tProcess
>   open process tProcess for neither
>   --
>   set the defaultFolder to tDefaultFolder
> end mouseUp
>
>
>
> ..
>
>
>
> I am very thankful to you for this kindness in advice.
>
>
>
> Kindly reply me on your earliest.
>
>
> Regards,
>
> shani
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>

Hello Zeeshan,

I'm not a specialist, but you actually listen on the 6800 port but you
are not sure that your port is open. You throw the exception but not
catch it.
To avoid bugs, add a couple of try/catch statement like this :

public class Server {
 public static void main (String[] args) throws IOException{
 try {
 ServerSocket server=new ServerSocket(6800);
} catch (IOException serverException) {
System.out.println("Server error : Could not listen on port 6800");
System.exit(-1);
}
 System.out.println("Server Started");
Socket client = null;
try {
Socket client= server.accept();
} catch (IOException serverException) {
System.out.println("Server error : Accept failed on port 6800");
System.exit(-1);
}
 DataInputStream in= new DataInputStream(client.getInputStream());
}
}

> put shell("Server 6800") into tResult

You have no need to pass the port in the shell command, or manage the
parameter in the string array of the main call.

> java.lang.NoClassDefFoundError: Server (wrong name: Server/Server)

It's a ClassNotFoundException. Maybe checks your class path.


At this point, it seems to me that the problem comes from java and not for RR.


Regards,
-- 
-Zryip TheSlug- wish you the best! 8)
http://www.aslugontheroad.co.cc
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: JADE (NetBeans IDE 6.8) and Rev Studio 4.0

2010-03-20 Thread zeeshan aamir
hay jan,

thanks, i have these examples, but my Server.java is build in Netbeans JADE
and when i run it in simple command like.

Compile
javac Server.java
it makes Server.Class

and it is in same folder where rev is. but when i run this through rev or
directly from command promt
like java Server

it gives error where as it run fine in JADE and gives output.

you see my proevious emails for Source code.
and try it on JADE, it works on JADE but how can i done this in simple java.

regards,
zeeshan

On Sat, Mar 20, 2010 at 8:32 AM, Jan Schenkel  wrote:

> Hi Zeeshan,
>
> My apologies if this sounds a bit blunt, but from the exchanges it seems to
> me that you are not only a beginner in revTalk, but not very experienced
> with Java either when it comes to socket programming and starting daemon
> processes and its classpath challenges.
>
> At RunRevLive'09 I gave a presentation on how revTalk and Java can interact
> in various ways. You can download the slides and example code from the
> downloads section of my website:
> 
>
> Come to think of it, that's probably how you assembled those first bits of
> code: setting the defaultFolder to the path of the stack is a trick I used
> there to keep everything together in a single folder and reduce scripting
> complexity. Not something a newbie will find on day one ;-)
>
> For this to work, the compiled Server.class file must be in the same
> directory as the rev stack; if it's sitting somewhere in your NetBeans
> project directory, it is not going to find it.
>
> Merely repeating that something doesn't work, is not going to resolve your
> situation: take a step back, think through the different concepts and learn
> more about processes and socket programming.
>
> Jan Schenkel
> =
> Quartam Reports & PDF Library for Revolution
> 
>
> =
> "As we grow older, we grow both wiser and more foolish at the same time."
>  (La Rochefoucauld)
>
>
> --- On Fri, 3/19/10, zeeshan aamir  wrote:
> > Hay Mark Schonewille,
> >
> > i tested with the changes in command emailed by Mark
> > Wieder  ( put
> > shell("Server 6800") into tResult)
> >
> > in server button in Rev like this
> > *For Server  Communication Button in Rev*
> >
> >
> > on mouseUp
> >local tDefaultFolder, tResult
> >--
> >put the defaultFolder into
> > tDefaultFolder
> >set the defaultFolder to StackPath()
> >--
> >put shell("java Server") into tResult
> >--
> >set the defaultFolder to tDefaultFolder
> >answer tResult
> > end mouseUp
> >
> > *
> > *
> >
> >
> >  this command will work but it gives this error.
> >
> > java.lang.
> > NoClassDefFoundError: Server (wrong name: Server/Server)
> > at
> > java.lang.ClassLoader.defineClass1(Native Method)
> > at
> > java.lang.ClassLoader.defineClassCond(Unknown Source)
> > at
> > java.lang.ClassLoader.defineClass(Unknown Source)
> > at
> > java.security.SecureClassLoader.defineClass(Unknown Source)
> > at
> > java.net.URLClassLoader.defineClass(Unknown Source)
> > at
> > java.net.URLClassLoader.access$000(Unknown Source)
> > at
> > java.net.URLClassLoader$1.run(Unknown Source)
> > at
> > java.security.AccessController.doPrivileged(Native Method)
> > at
> > java.net.URLClassLoader.findClass(Unknown Source)
> > at
> > java.lang.ClassLoader.loadClass(Unknown Source)
> > at
> > sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
> > at
> > java.lang.ClassLoader.loadClass(Unknown Source)
> > Could not find the main class: Server.  Program will
> > exit.Exception in
> > thread "main"
> >
> > but i try it on same as in same folder where .Java and
> > .Class file placed.
> >
> > Regards,
> > ZEESHAN
> >
>
>
>
>
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: JADE (NetBeans IDE 6.8) and Rev Studio 4.0

2010-03-20 Thread zeeshan aamir
hi Zryip,

if you try this code in Netbeans then you see that it work fine. and giving
the output. but the main problem is that i made this in JADE and i want to
cummnicate JADE with Rev. i try the Jan Schenkel examples from
http://www.quartam.com

hare in this link. rmj.zip and tea.zip it work fine on JAVA and Rev, so
tahts why i try JADE program.
I copy from src in netbeans where netbeanss program store. and take it in
same folder where it is rev file i have then i compile this to make a .class
javac Server.java
it makes Server.class.
but i try same meathod to check the connectivity but it not works.

Regards,
ZEESHAN

On Sat, Mar 20, 2010 at 2:56 PM, zryip theSlug wrote:

> 2010/3/19 zeeshan aamir :
>  ……
> >
> >
> >
> > //Code for Server.java  (JADE)
> > package Server;
> >
> > import java.io.DataInputStream;
> > import java.io.IOException;
> > import java.net.ServerSocket;
> > import java.net.Socket;
> >
> > public class Server {
> > public static void main (String[] args) throws IOException{
> > ServerSocket server=new ServerSocket(6800);
> > System.out.println("Server Started");
> > Socket client= server.accept();
> > DataInputStream in= new DataInputStream(client.getInputStream());
> >
> > System.out.println("Client Syas: " + in.readUTF());
> > }
> > }
> >
> >
> .
> > /7code for client Socket. (JADE)
> >
> >
> > package Cleint;
> >
> > import java.io.DataOutputStream;
> > import java.io.IOException;
> > import java.net.Socket;
> >
> > public class Cleint {
> > public static void main (String[] args) throws IOException {
> > Socket client= new Socket("localhost",6800);
> > System.out.println("Connected to server");
> > DataOutputStream out = new DataOutputStream(client.getOutputStream());
> > out.writeUTF ("AllowServer");
> >
> >
> > }
> >
> > }
> > .
> >
> > *RunRev* Main
> >
> > function StackPath
> >   local tPath
> >   --
> >   put the effective filename of this stack into tPath
> >   set the itemDelimiter to slash
> >   delete item -1 of tPath
> >   --
> >   return tPath
> > end StackPath
> > 
> > *For Server  Communication Button in Rev*
> >
> >
> > on mouseUp
> >   local tDefaultFolder, tResult
> >   --
> >   put the defaultFolder into tDefaultFolder
> >   set the defaultFolder to StackPath()
> >   --
> >   put shell("Server 6800") into tResult
> >   --
> >   set the defaultFolder to tDefaultFolder
> >   answer tResult
> > end mouseUp
> >
> > *
> > Clinet button coading in Rev
> > *
> >
> >
> >
> > on mouseUp
> >local tDefaultFolder, tProcess
> >   --
> >   put the defaultFolder into tDefaultFolder
> >   set the defaultFolder to StackPath()
> >   --
> >   put "Client" into tProcess
> >   open process tProcess for neither
> >   --
> >   set the defaultFolder to tDefaultFolder
> > end mouseUp
> >
> >
> >
> > ..
> >
> >
> >
> > I am very thankful to you for this kindness in advice.
> >
> >
> >
> > Kindly reply me on your earliest.
> >
> >
> > Regards,
> >
> > shani
> > ___
> > use-revolution mailing list
> > use-revolution@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-revolution
> >
>
> Hello Zeeshan,
>
> I'm not a specialist, but you actually listen on the 6800 port but you
> are not sure that your port is open. You throw the exception but not
> catch it.
> To avoid bugs, add a couple of try/catch statement like this :
>
> public class Server {
>  public static void main (String[] args) throws IOException{
>  try {
>  ServerSocket server=new ServerSocket(6800);
> } catch (IOException serverException) {
> System.out.println("Server error : Could not listen on port 6800");
> System.exit(-1);
> }
>  System.out.println("Server Started");
> Socket client = null;
> try {
> Socket client= server.accept();
> } catch (IOException serverException) {
> System.out.println("Server error : Accept failed on port 6800");
> System.exit(-1);
> }
>  DataInputStream in= new DataInputStream(client.getInputStream());
> }
> }
>
> > put shell("Server 6800") into tResult
>
> You have no need to pass the port in the shell command, or manage the
> parameter in the string array of the main call.
>
> > java.lang.NoClassDefFoundError: Server (wrong name: Server/Server)
>
> It's a ClassNotFoundException. Maybe checks your class path.
>
>
> At this point, it seems to me that the problem comes from java and not for
> RR.
>
>
> Regards,
> --
> -Zryip TheSlug- wish you the best! 8)
> http://www.aslugontheroad.co.cc
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription pr

Re: JADE (NetBeans IDE 6.8) and Rev Studio 4.0

2010-03-20 Thread zeeshan aamir
hay, jan thanks,

i uploaded all the files. on these links kindly see it.

http://www.4shared.com/file/245437167/a47bf1a6/JADE_WITH_RUNREV.html

http://www.4shared.com/file/245437182/4a9228a7/SocketTestServerCleint.html

http://www.4shared.com/file/245437204/696eb9c3/server.html

http://www.4shared.com/file/245437244/d027cc7/Client.html

http://www.4shared.com/file/245437260/3859da5c/error.html

http://www.4shared.com/file/245437281/d1ddc744/JAD_AND_RUNREV.html

http://www.4shared.com/file/245440617/c182954d/test_normal.html



http://www.4shared.com/file/245448691/258c929f/communicate_between_JADE_and_R.html



i have these commands,
http://docs.runrev.com/Command/open-socket
http://docs.runrev.com/Command/close-socket
http://docs.runrev.com/Command/read-from-socket


i see examples from http://www.quartam.com and some other link that
communication between JAVA and rev but cant find any example of JADE
(NetBeans) so thats why i try these examples to just test that is it
possible that JADE java file communicate in the same way?

Regards,
ZEESHAN


On Sat, Mar 20, 2010 at 1:36 PM, Jan Schenkel  wrote:

> Looking back, I was perhaps being a bit harsh. The thing is: most developer
> communities do not react well to a vague description of something that
> "doesn't work as expected" without background information. We always tell
> kids to do their own homework, not write it for them ;-)
>
> What exactly are you trying to accomplish? What is JADE, and how does your
> Java code interact with it? I have quite a bit of experience getting revTalk
> to exchange information with Java processes - bit it all stands or falls
> with the intended architecture.
>
> If your Java code is a simple command-line tool for one-off jobs, you can
> use the 'shell' function to call it with parameters and retrieve the output.
> If your interaction needs to be more elaborate, topology comes into play.
>
> Assuming that the Java program runs on the same machine, you can opt for
> inter-process communication via standard input/output (your Java code uses
> the System.in object to read the data from and the System.out object to
> write the data back to the rev-based application that uses 'open process',
> 'read from process', 'write to process' and 'close process' commands to send
> data to your Java program and retrieve results.
>
> If the Java program runs on a different machine, your best bet is socket
> communication. For the Java side, I recommend you pick up the book 'TCP/IP
> Sockets in Java' (ISBN: 978-0-12-374255-1). On the revTalk end, you'll want
> to look at the 'open socket', 'read from socket', 'write to socket' and
> 'close socket' commands to exchange the data over the socket.
>
> What it all boils down to, is picking a method of communication, and a
> protocol that describes the interaction: which side takes the initiative and
> in what format do you send the request and receive the reply. You can dream
> up your own protocol, copy the HTTP client-server model, exchange the data
> as plain text or structured in XML.
>
> Speaking of XML, why not rely on SOAP? Your Java code could be housed in a
> Glassfish application server, and rely on Web Services technology to 'post'
> data from rev to the app server - where your POJO classes transparently
> offer services to any SOAP-capable client.
>
> First determine your goal, and then we can help you figure out the best way
> to achieve that goal. There is more than one way to skin a cat, as the
> saying goes...
>
> Jan Schenkel
> =
> Quartam Reports & PDF Library for Revolution
> 
>
> =
> "As we grow older, we grow both wiser and more foolish at the same time."
>  (La Rochefoucauld)
>
>
> --- On Sat, 3/20/10, Jan Schenkel  wrote:
> > Hi Zeeshan,
> >
> > My apologies if this sounds a bit blunt, but from the
> > exchanges it seems to me that you are not only a beginner in
> > revTalk, but not very experienced with Java either when it
> > comes to socket programming and starting daemon processes
> > and its classpath challenges.
> >
> > At RunRevLive'09 I gave a presentation on how revTalk and
> > Java can interact in various ways. You can download the
> > slides and example code from the downloads section of my
> > website:
> > 
> >
> > Come to think of it, that's probably how you assembled
> > those first bits of code: setting the defaultFolder to the
> > path of the stack is a trick I used there to keep everything
> > together in a single folder and reduce scripting complexity.
> > Not something a newbie will find on day one ;-)
> >
> > For this to work, the compiled Server.class file must be in
> > the same directory as the rev stack; if it's sitting
> > somewhere in your NetBeans project directory, it is not
> > going to find it.
> >
> > Merely repeating that something doesn't work, is not going
> > to resolve your situation: take a step back, think through
> > the different concepts and learn more about pro

Re: JADE (NetBeans IDE 6.8) and Rev Studio 4.0

2010-03-21 Thread Jan Schenkel
Hi Zeeshan,

Maybe my skull is especially thick today, but I'm still confused about what 
exactly you are trying to accomplish.

In order to help you create your solution, we'll need answers to a few basic 
questions:

- what exactly is JADE?
-> a library, a framework, a development tool?
--> a URL with more information would help a lot
-> and how does plain Java code use it?
--> do you have working Java code that uses/interacts with JADE?

- what exactly do you expect from rev?
-> graphical user interface as front-end?
-> or something else entirely?

- what is your planned architecture?
-> do you want to run little Java programs that do a chunk of work? 
-> or will there be a separate Java process running constantly? 
--> and will this be started separately?
--> or would your rev stack take the initiative to start this?
-> is it running on the same machine or somewhere else?
--> if only local, then process communication may do the trick
--> if possibly remote, then socket communication is the way to go

This list is about how to use revolution, members are not necessarily experts 
in other languages, libraries, environments or platforms. Provide us with a 
detailed goal and initial plan, and we will help you put the pieces of the 
puzzle into place.

Best of luck,

Jan Schenkel.
=
Quartam Reports & PDF Library for Revolution


=
"As we grow older, we grow both wiser and more foolish at the same time."  (La 
Rochefoucauld)


--- On Sat, 3/20/10, zeeshan aamir  wrote:
> Hay to all,
> 
> now you can give me suggestion, initial program, sample
> code with your own
> folder in this link.
> 
> 
> http://www.4shared.com/dir/34362030/72462f27/RunRev_Suggestion.html
> 
> Pass:      1234
> 
> 
> Thanks for your all affords and corporations.
> Regards,
> ZEESHAN AAMIR
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage
> your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 




___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: JADE (NetBeans IDE 6.8) and Rev Studio 4.0

2010-03-21 Thread Mark Wieder
zeeshan-

Saturday, March 20, 2010, 9:36:22 AM, you wrote:

> javac Server.java
> it makes Server.Class

> and it is in same folder where rev is. but when i run this through rev or
> directly from command promt
> like java Server

> it gives error where as it run fine in JADE and gives output.

If you get an error when you run

java Server

from a command prompt then you will get the same error when you try to
execute this from a shell command in runrev. You will need to fix your
java classpath to run the server successfully from the command line
before you can procede any further.

-- 
-Mark Wieder
 mwie...@ahsoftware.net

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: JADE (NetBeans IDE 6.8) and Rev Studio 4.0

2010-03-21 Thread Mark Wieder
Mark-

Saturday, March 20, 2010, 4:31:00 AM, you wrote:

> Sorry, I didn't mean to scare you off, Mark ;-)

 Between you and Jan, I figure things are in good hands now...

-- 
-Mark Wieder
 mwie...@ahsoftware.net

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: JADE (NetBeans IDE 6.8) and Rev Studio 4.0

2010-03-21 Thread zeeshan aamir
yes mark,

I think the prob is in  my class path.

Javac command runfine but when I try

Java jade.boot

Its not work

I set the class path for this

C:\Program Files\Java\jade

commons-codec-1.3.jar

jade.jar

jadeTools.jar

iiop.jar

http.jar



I set these path.

set path= C:\Program Files\Java\jdk \bin

set *JADE_HOME*= C:\Program Files\Java\jade

set CONTROLLER=127.0.0.1

set *classpath*=%*JADE_HOME*%

set *classpath*=%*JADE_HOME*% ;%*JADE_HOME*%\*jade*.*jar*

set *classpath*=%*JADE_HOME*% ;%*JADE_HOME*%\*jadeTools*.*jar*

set *classpath*=%*JADE_HOME*% ;%*JADE_HOME*%\*iiop.jar*

set *classpath*=%*JADE_HOME*% ;%*JADE_HOME*%*\http.jar*

set *classpath*=%*JADE_HOME*% ;%*JADE_HOME*%\ *commons-codec-1.3*

*.jar*



I don’t know why it not work. May be this is the problem.


Regards,
ZEESHAN

On Sun, Mar 21, 2010 at 7:30 PM, Mark Wieder  wrote:

> Mark-
>
> Saturday, March 20, 2010, 4:31:00 AM, you wrote:
>
> > Sorry, I didn't mean to scare you off, Mark ;-)
>
>  Between you and Jan, I figure things are in good hands now...
>
> --
> -Mark Wieder
>  mwie...@ahsoftware.net
>
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: JADE (NetBeans IDE 6.8) and Rev Studio 4.0

2010-03-21 Thread Mark Wieder
zeeshan-

If you really have embedded spaces and asterisks in your path, then
yes, this is a problem. If you don't and you're just adding them for
display purposes, DON"T DO THAT. It makes it impossible to figure out
what's really going on.

Also, it seems that you're overwriting your existing classpath several
times rather than adding to it.

This is getting quite a bit off-topic for members of this list - you
may want to take this discussion to a java list until you can get
things working from the command line. Then your runrev shell command
should work. If it doesn't, then it's appropriate to bring it back
here.

-- 
-Mark Wieder
 mwie...@ahsoftware.net

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution