Amy Aim

Greenhorn
+ Follow
since Aug 08, 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
1
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Amy Aim

Thanks Stephan.
Yeah started with copying exsiting project and I started reusing some classes which I can and removed the rest.

But now I realise adding dependency of the packages I need to reuse is a reliable solution.

I have browsed through for steps to creating jar of a package and then adding this as dependency in pom of a project.

Could you please help me with the steps to the above

Thanks
10 years ago
Thanks Stephen.

Can you tell me a way to clean copy without adding dependency on project-1. As the main focus is to copy the structure and few class files and need not keep this copied module up to date with the module in project-1
10 years ago
hi

I am new to maven.
I want to reuse a maven module which is part of a maven git project in another maven git project.
I know how to create a maven module in a maven project but no idea about the best way to copy a maven module from project-1 to project-2(through command line or any ide)

appreciate your inputs

thanks a lot!
10 years ago
hi

I have a json of the below format:

type1{
categories:
type1{
categories:
type1{}
type2{}
}
type1{
categories:
type1{
categories:
type1{
categories:
type1{}
type2{}
}
type2{}
}
type2{}
}


I have done code to parse this json after defining classes for above json structure

Now I am trying to get count of articles of type1 at each level.

say for example at level1: there are 2 type 1 articles but first type1 child has children type1 and type2

at level2: type1 has children 3 levels further

I am trying with collections but I am held. Could you help me with the logic

Thanks in advance





10 years ago
Hi

I am working on an application which works only in chrome. I dont see XPath addon working to get css selector.
I see some methods in Java console and tried giving document.getelemenentbyclass["ABC"] for one of the elements and it worked. But to identify elements in a dynamic grid class name is not unique, so I am trying to get css selector string combining some other values I see in HTML DOM. Can you help me in figuring out how I can extract a css selector