jorge zapata

Greenhorn
+ Follow
since Oct 04, 2001
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by jorge zapata

hi all,
my WAR task does create a war, but does not create the web-inf directory along with the /lib and all others. It just makes a .war file and throws everything in it.
how can i make it create the directory structure that i want?
this is what my task looks like. if you have any suggestions or other sites, please post them, thanks in advance.
<target name="deploy" depends="copy">
<war destfile="servlet.war" webxml="${web-inf.dir}/web.xml">
<webinf dir="${web-inf.dir}" />
<fileset dir="${jsp.dir}" />
<lib dir="${lib.dir}"/>
</war>
<copy file="servlet.war" todir="../../server/default/deploy" />
</target>
20 years ago
does anyone have any online references to using swing tools and Borland datasets?
thank you,
20 years ago
i have a quick question, has anyone seen jboss go down and not log anything when it is running as a service?
i run it as an NTService, and all of a sudden it will crash/go down and put nothing in the log.
does anyone have an idea for this? besides running in app mode? (run.bat)
thanks in advance,
jorge
20 years ago
java version "1.4.1_02"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_02-b06)
Java HotSpot(TM) Client VM (build 1.4.1_02-b06, mixed mode)
java_home is set to C:\j2sdk1.4.1_02
and my path refers %JAVA_HOME%\bin
thank you,
jorge
oh yeah, i am able to build successfully using ant via a DOS window. so it HAS to be some setting in eclipse.
jz
i upgraded my j2sdk to 1.4.1_02 and changed my path and java_home variables. reinstalled eclipse, made sure all the .jar files where referenced correctly. tried to compile via ant (ant is working after adding tools.jar to the ant runtime via eclipse) and still get the ugly error! this thing is driving me nuts. if anyone has any suggestions I would highly appreciate it.
thank you,
jorge
-ps here is the error again:
[javac] C:\src\cashapp\src\com\nineci\cashapply\caexport\HistoryStatus.java:16: cannot access java.lang.Object
[javac] bad class file: C:\Program Files\Java\j2re1.4.1_02\lib\rt.jar(java/lang/Object.class)
[javac] class file has wrong version 48.0, should be 47.0
[javac] Please remove or make sure it appears in the correct subdirectory of the classpath.
[javac] private static Logger log = Logger.getLogger(HistoryStatus.class);
[javac] ^
[javac] 1 error
[javac] BUILD FAILED: file:C:/src/cashapp/build.xml:88: Compile failed; see the compiler error output for details.
hey, how is building your own application server going? just download jboss and use that, it will be hard to build one from scratch.
ok so I have ant working with eclipse, thanks to you all.
now I am having a wierd error when compiling via ant on eclipse. i get this:
[javac] C:\src\cashapp\src\com\nineci\cashapply\caexport\HistoryStatus.java:16: cannot access java.lang.Object
[javac] bad class file: C:\Program Files\Java\j2re1.4.1_02\lib\rt.jar(java/lang/Object.class)
[javac] class file has wrong version 48.0, should be 47.0
[javac] Please remove or make sure it appears in the correct subdirectory of the classpath.
[javac] private static Logger log = Logger.getLogger(HistoryStatus.class);
[javac] ^
[javac] 1 error
[javac] BUILD FAILED: file:C:/src/cashapp/build.xml:88: Compile failed; see the compiler error output for details.

it seems like a compiler issue or something, not really sure how to even start digging into this problem. any suggestions would be greatly appreciated.
Thanks in advance,
jorge
eclipse's ANT runtime does include tools.jar.
I also have my JAVA_HOME set to C:\jdk1.3
All my environment variable do work when working with JBuilder and ANT to build my apps. I think it's just a small little thing I have to do.
Please advise and thank you in advance.
Jorge
Thanks in advance to responding.
I have been developing with JBuilder 5.0 and using ANT to build my projects. I want to start using Eclipse. I installed it and try to run my build.xml file for ANT and I get the following error:
"Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK"
Not sure what I have set up wrong. I have tried so many things to try and compile my project. Nothing seems to work, neither compiling or running ant (which works if I run it from DOS). I think it's an internal classpath setting with eclipse. Any suggestions to get me up and running with eclipse would greatly help (heard it's a great product).
Thanks,
jorge
Thanks in advance to responding.
I have been developing with JBuilder 5.0 and using ANT to build my projects. I want to start using Eclipse. I installed it and try to run my build.xml file for ANT and I get the following error:
"Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK"
Not sure what I have set up wrong. I have tried so many things to try and compile my project and to run it from ANT, but nothing seems to work. I think it's an internal classpath setting with eclipse.
Thanks,
jorge
I am trying to do the following but just not sure how, thanks to anyone that responds.
At runtime, I want to find out what classes are implementing one specific interface. Only thing is, I don't want to give a list of classes, I want it to look at my entire project's classes and then tell me, what classes implement the specific interface.
thanks in advance.
20 years ago
Hello all, thanks in advance for the replys!
I am wondering how valuable this exam is in the industry during hard economic times. Sure it can't hurt to have on the resume, but what do hiring and IT managers feel about the exam? I am considering taking it. I do have a good amount of JSP/Servlet knowledge, don't have the API's memorized however. I am limited on time so I am debating whether my time is worth while on the exam during this economy. Thanks for any feedback,
Jorge
if you add the code
<!-- Today is <%= new java.util.Date() %>.Hava a nice day -->
to your jsp and run it. the code will be viewable if you right click on the page and do a view source. however, the viewer will not be able to see any output to the jsp page