1
vote
0answers
55 views
+50

Run test from eclipse feature using ANT

I have a feature with test plugins. And i use ant+jococo for run test-suite from each plugin. Test-suites have the same name like "Tests". Now use hardcoded plugin names like <run-test-macro ...
1
vote
1answer
39 views

How to get Javascript array result into Java?

I want to use ScriptEngine of Java but I have some trouble with javascript split function like below: ScriptEngineManager manager = new ScriptEngineManager(); ScriptEngine engine = ...
0
votes
1answer
12 views

Parse beanshell script

In beanshell script executed from java code: How can I parse (only check syntaxis) a beanshell script without evaluate it? There is a page in manual about it but I don't understand how to make a ...
0
votes
0answers
28 views

Java code parse Birt javascript

I using Eclipse Birt report. Now i want using java code to handle parse my javascript code like: scriptBean = new Packages.com.o7planning.core.report.ScriptedBean(); String hsql ="select i1.itemNum ...
1
vote
1answer
36 views

Performance of Java code from Groovy script

I have a method in java and invoke it from java, then I invoke the same method from groovy. Is there any impact in terms of performance? When I run the java code from groovy, that code is interpreted? ...
2
votes
2answers
127 views

Running script files and use of Css files with Spring MVC?

I'm developing a Spring MVC application and i have my login page (login.jsp) that should call scripts and link some css files . The problem is the applications doesn't run scripts . here is my files ...
0
votes
0answers
23 views

How to get paths of sub-POMs from Maven for use in external script (Groovy)?

We have a huge dependency tree for our project and I want to add a rebel.xml file to one jar inside a huge ear. Until now I just put the rebel.xml in the correct project and recompiled. Sadly that ...
0
votes
1answer
165 views

Using java over WEB(http/html) protocol in loadrunner 9.52 [closed]

I am new to the loadrunner tool, and I read somewhere that loadrunner supports Java as a scripting language. What I am trying to do is to select the WEB(html/http) protocol, and while recording ...
1
vote
1answer
104 views

Mozilla Rhino 1_7R4 Extending Abstract Class ( JS )

I'm using Mozilla's implementation of Rhino (not the one bundled with the JDK). Having read this thread: How to subclass an inner (static) class in Rhino? -- I thought that I was on the right track, ...
0
votes
1answer
49 views

Java - “safe” scripting

Does anyone know of any scripting for the Java platform that can be forcefully restricted to a provided function set (preferably absolutely no functions unless provided)? I've experimented with ...
1
vote
1answer
47 views

How do I get my Jython script to synchronously invoke a Java method?

I have a Java library that uses Jython to allow users to add custom scripts to interact with particular parts of the library. Having Java give data to the scripts is easy, but let's say I want to ...
1
vote
0answers
53 views

How can we detect if a website is trying to serve us an exe without user interaction? [closed]

Basically I'm curious about how to make malware/virus detection system,and this was listed as one of the approaches on which google safebrowsing works.So I'm just curious that if I were to implement ...
0
votes
1answer
113 views

Wait For AsyncTask to finish before executing script

package com.cydeon.plasmamodz; import java.io.BufferedInputStream; import java.io.BufferedReader; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import ...
0
votes
4answers
76 views

User script input in java

I am developing a java app where the user inputs certain functions through a property files. The functions are then evaluated at runtime with variable values provided by the app. Here a simple ...
-1
votes
1answer
53 views

Visit Website script in Java, perl, or vbs [closed]

Hello I am new into programming , I want make a script in java or vsb that visits a google , logs in and makes a search. I've done my homework and all I found is some PHP. thank you very much I just ...

1 2 3 4 5 14
15 30 50 per page