Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 01-25-2007
meirab meirab is offline
Registered User
 
Name: meir abramson
Organization: private
Project: ice demoj testing
 
Join Date: Oct 2006
Posts: 4
problem compile demoj

hello "zeroc" - i try to compile demoj from ice 3.1.1 - after i created a project in intellij/idea5 from .jetbrains.

i have created the project in: C:\Ice-3.1.1

and then went to: demoj sub directory (in idea5) and clicked the "ant" build file, the result is: THE BUILD DID NOT SUCCEED.
Reply With Quote
  #2 (permalink)  
Old 01-25-2007
marc's Avatar
marc marc is offline
ZeroC Staff
 
Name: Marc Laukien
Organization: ZeroC, Inc.
Project: The Internet Communications Engine
 
Join Date: Feb 2003
Location: Florida
Posts: 1,781
I'm sorry, but you really must include a much more detailed error description if you want us to help you.
Reply With Quote
  #3 (permalink)  
Old 01-25-2007
meirab meirab is offline
Registered User
 
Name: meir abramson
Organization: private
Project: ice demoj testing
 
Join Date: Oct 2006
Posts: 4
hello zeroc / mark

i try to send the .bmp attachments file from firefox3 but it does not work from firefox3.

i try to use explorer6 and login does not accept user+password that accepted from firefox3.

all is needed is to compile the build.xml from demoj and i believe that the build will give the same results.
Reply With Quote
  #4 (permalink)  
Old 01-25-2007
marc's Avatar
marc marc is offline
ZeroC Staff
 
Name: Marc Laukien
Organization: ZeroC, Inc.
Project: The Internet Communications Engine
 
Join Date: Feb 2003
Location: Florida
Posts: 1,781
.bmp attachements? If you have a log, then cut&paste it please. We don't want to read images instead of text logs. Also, you must provide a lot more details. What is intellij/idea5? What is jetbrains? How does this have to do with Ice?
Reply With Quote
  #5 (permalink)  
Old 01-25-2007
meirab meirab is offline
Registered User
 
Name: meir abramson
Organization: private
Project: ice demoj testing
 
Join Date: Oct 2006
Posts: 4
build: plain Java JDK + ant 1.7.0

the tools used for this "ant" build:

windows2000/sp4
apache ant 1.7.0
java jdk 6
C:\Ice-3.1.1

define
JAVA_HOME = C:\Program Files\Java\jdk1.6.0_01
in "properties" of "my computer"

and:

set JAVA_HOME=C:\Program Files\Java\jdk1.6.0_01
set ANT_HOME=C:\apache-ant-1.7.0
set PATH=%PATH%;%JUNIT_HOME%;%ANT_HOME%\bin;%ANT_HOME% \lib

and running this batch file before in order to make windows
"know" the 3 software packages.
=====================================
cmd
=====================================
C:\Ice-3.1.1\demoj>ant
Buildfile: build.xml

all:

all:

properties-cvs:

properties-opt:

properties-src:

BUILD FAILED
C:\Ice-3.1.1\demoj\build.xml:15: The following error occurred while executing
is line:
C:\Ice-3.1.1\demoj\Ice\build.xml:15: The following error occurred while execut
g this line:
C:\Ice-3.1.1\config\common.xml:192: taskdef class Slice2JavaTask cannot be fou
Reply With Quote
  #6 (permalink)  
Old 01-25-2007
beagles's Avatar
beagles beagles is offline
ZeroC Staff
 
Name: Brent Eagles
Organization: ZeroC, Inc
Project: Ice Developer
 
Join Date: Feb 2003
Location: Newfoundland
Posts: 110
The error indicates that the Slice2Java Ant tasks cannot be found. Have you set the ICE_HOME environment variable to path where you installed Ice?
Reply With Quote
  #7 (permalink)  
Old 01-26-2007
meirab meirab is offline
Registered User
 
Name: meir abramson
Organization: private
Project: ice demoj testing
 
Join Date: Oct 2006
Posts: 4
Smile i have found the error and corrected it

the problem is not in: set ICE_HOME=C:\Ice-3.1.1

the problem starts from a line at:

http://www.zeroc.com/download.html#win32_msi

"Note that, to build Ice for Java, you must first compile Ice for C++ or, alternatively, download and install an appropriate binary distribution. This is necessary because the Slice-to-Java compiler is written in C++."

after some time i understood that it's not enough to download vc++2005 express and install it - but you must
install ice-3.1.1-vc80.msi AFTER, and ONLY then the ANT build succeeds !!!
Reply With Quote
  #8 (permalink)  
Old 01-26-2007
bernard's Avatar
bernard bernard is offline
ZeroC Staff
 
Name: Bernard Normier
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Palm Beach Gardens, FL
Posts: 818
No, this cannot be the problem.

You can install Ice and build the Java demos without any C++ compiler installed on your system.

Best regards,
Bernard
__________________
Bernard Normier
ZeroC, Inc.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Compile problem about Ice 2.0 rc_hz Help Center 0 11-23-2004 08:51 AM
ICE-1.5.1 demoj ("hello") exception wuzuoshun Help Center 1 11-14-2004 09:14 PM
compile problem with Visual C++ 6.0 miaolin Help Center 5 11-07-2004 11:11 PM
Re: demoj\IcePack\hello vsonnathi Help Center 0 10-21-2004 03:45 PM
Unable to build demoj using supplied build.xml files vsonnathi Bug Reports 1 10-21-2004 01:34 PM


All times are GMT -4. The time now is 01:18 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.