Win a copy of Classic Computer Science Problems in Swift this week in the iOS forum!

Pankaj Mittal

Ranch Hand
+ Follow
since Jul 09, 2008
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 Pankaj Mittal

Hi Marco,

Thanks for prompt reply !! This project is not working in my netbeans 6.5.1, with maven plugin. I'm getting error in java file which is saying Foo class doesn't exist. Which archetype you did use? Can you exactly tell me? When I'm compiling it through bash without maven, it's working but not through netbeans. Any suggestions?

Regards,
Pankaj
8 years ago
got it... Thanks !!
8 years ago
Thanks for the prompt reply... I'll wait..I guess there is some problem in nbactions.xml...for java files it is working fine....so I guess action has to be added for scala files..

Pankaj
8 years ago
hii

Thanks for the link....actually problem is when I'm calling scala function from java code....It is not able to find the classfile even when class files are in classfiles folder only....when I tried to import it....it is not even showing class names...set POM files...done all settings....still not working..working from last 2 days on the same thing...I'll b thankful if you can help in any way..

Pankaj
8 years ago
I need scala and java code integration in my project so thought of going for Maven but don't have much exposure to maven and scala integration....so if anybody can post an example showing calling java function from scala and scala functions from java and maven setting for this project or any useful link...I'll be thankful...

Pankaj
8 years ago
thanks....got it !!
8 years ago
Hi guys !!

I've got one strange problem....I'm using netbeans 6.5.1 with scala plugin....dunno what the prob is...but sometime this code runs sometime doesn't...



Thanks !!
8 years ago
Thanks guys !!!
8 years ago
I have netbeans 6.7 and scala 2.7.5...

I tried using the following link..
Scala Plugin for Netbeans

but when I add those nbm files and run it says...some of the modules couldn't be installed...and when I restarted it.....msg came: some of the modules can't be started...and when I create the project some object is null so not able to create the project....still project was created....I opened the project but couldn't build it...

I also tried with eclipse europa...but after I restarted it...there was not any option to make scala project.....

can anybody help regarding this...

Thanks in adv !!
8 years ago
Hii guys !!

I'm very new to Scala and going through some tutorials and one of them I found this code


I know it is returning list of prime integers but I couldn't know how this folder is working...can somebody help me??

Thanks in advance !!
8 years ago
Ok....didn't know about market interfaces...

Thanks a lot !!
9 years ago
when ever we want to serialize object we can implement serializable interface and if we want we can override writeobject and readobject methods..

but my que is, if we want to implement an interface, we have to implement all of its methods, there is no choice...but here we have choice whether to implement them or not...it seems to be like I'm forgetting sth...
9 years ago
Thanks buddy !!
I found the solution...

9 years ago
I want to invoke a method whose name I've got in string.....
9 years ago
This code means you want to sort A class's objects array....

No you don't need to implement either of these methods because you are comparing on basis of date and date already has these methods.
9 years ago