Aymen Rebouh

Greenhorn
+ Follow
since May 29, 2013
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 Aymen Rebouh

Hi ,

I may have made of try, none works..

The file is:
/Users/Toto/Desktop/Titi/IUT/Java/TP2/project/src/fichierPointJava/img1.png

fichierPointJava est the name of the package .

I launch the ant when I am situated in project which contains the build.xml

Here are the codes that I tested:




I made out a will with or without "this", and with or without getClassLoader()

Hope someone will help me
10 years ago
Edit : This is resolved . I finally abandonned my build.xml and create a new :-)
This is like that :


/Users/rebouhaymen/Desktop/Aymen/IUT/Java/Tp1FormeJava/galaxy/Univers.java

what is the package declaration within Univers.java? That's say ? Univers.java have a package which is galaxy


When i said it works , that's the error , not the file :-)

I added this :

Hello , I have a problem in my build.xml which doesn't find the main class :



galaxy is the name of my package
Univers.java my main and only class

My ant version : Apache Ant(TM) version 1.8.2 compiled on June 20 2012

So i position myself in the Tp1FormeJava and launch " ant " , and this is the error :



This is ma build.xml :




I'm hoping you will helping me

Edit : I changed galaxy/Univers by galaxy.Univers
Hello ,
Apache Ant(TM) version 1.8.2 compiled on June 20 2012

EDIT : Resolved , thanks you
Hi ,

I read this post https://coderanch.com/t/503097/tools/warning-includeantruntime-set but seems it didn't works .

I add the includeantruntime="false"

The build.xml :


Where is the problem ?