santoshkumar savadatti

Ranch Hand
+ Follow
since Apr 27, 2010
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
1
Received in last 30 days
0
Total given
13
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by santoshkumar savadatti

Joe Ess wrote:Is it possible to run the app server as a service? That way the user would only have to start the browser.



That is certainly a good idea. Can the user access the app using a fake domain name?
6 years ago
I wanted to develop a desktop application. But, desktop development unlike web, is way too painful. Data binding is a pain. Validation is also difficult. However, i have experience with Struts and Hibernate.
The challenge is, make it easy for the end user to launch the application.
E.g: a script that can do this: start/stop the servlet container AND launch the application in the browser.
Or a way to access a Vmx application by something other than the ip address.

I tried looking at sencha desktop packager.......not enough documentation.

Can anybody suggest a solution please? thanks.
6 years ago

santoshkumar savadatti wrote:I'm learning automated unit testing. i can run tests on classes that are in default package e.g: my directory is src/java/main and the class is in the default package.I specify source location as {src.java.main.dir} and it works. What if i add the class to a package "com.xyz.org" under src/java/main?
How to modify the build file to compile a file in a package?
Thanks.


Found the solution.
i have to define a property


and in javac task,


i wasn't aware of the "includes" attribute
6 years ago
I'm sorry i wasn't clear
I'm using ant and need to know how to declare the package and how to specify the srcdir in javac task.
I will have src/java/main and src/java/test with java and junit classes in packages under them.
6 years ago
I'm learning automated unit testing. i can run tests on classes that are in default package e.g: my directory is src/java/main and the class is in the default package.I specify source location as {src.java.main.dir} and it works. What if i add the class to a package "com.xyz.org" under src/java/main?
How to modify the build file to compile a file in a package?
Thanks.
6 years ago

Tim Holloway wrote:

There's folders and then there's SOURCE folders. If you'll notice in the Navigator view, the two have slightly different icons. Only SOURCE folders are processed by the Eclipse compiler.



old post helped me out. thanks
I need to learn Java web development. Self learning is tiresome and, most training institutes don't deliver developer level training.So, i'm looking for an experienced trainer who can teach Struts along with unit testing.
Expectation is to be able to build demo applications (will get to spring and hibernate later) after training.
My requirement is thorough hands on training on the following:
Struts 2,
Junit 4 (automated with ant)

In other words, need development training.

Location: Bangalore.

6 years ago
I downloaded Helios package and its working fine now.
I am using Eclipse Indigo on windows 7 by the way.
Yes that did help. But the problem is, it still does not open with Ant editor. It'd be very helpful if i could use syntax highlighting.
Here is what i get if i open it with Ant Editor:


and thanks for your replies

Brian Burress wrote:Can you clarify - do you get this error when opening the project or when opening the build.xml file in the project?



The Project opens in the workspace. But when i try to open the build file, i get the error. I'm not sure if any other tool is being used to open the file.
I was trying to open a project in Eclipse. When i pen the Build.xml file, i get the following error:

Could not open the editor: org.apache.xerces.parsers.XML11Configuration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration


How can i fix this issue?
Nothing common between a &b.
C depends on the outcome of X.
It is not a&b or c.
If x fails, only a&b.
If x succeeds, then a,b and c.
I need to create an Activity Diagram for the following scenario:
There's a condition x and there are 3 steps a,b&c. The system checks if "x" succeeded or failed. a&b are available regardless of whether x was success or failure.step c is available only if x succeeded.
I'm really confused about this.